module Wireframe:sig..end
This effect renders `Triangle primitives as
wireframes.
References.
val model_to_clip : Gg.M4.t Lit.uniformmodel_to_clip is the model to clip space transform matrix,
defaults to the `Model_to_clip built-in.val viewport_size : Gg.Size2.t Lit.uniformval fill_color : Gg.Color.t Lit.uniformfill_color is the triangle's fill color, default to
Color.white.val wire_color : Gg.Color.t Lit.uniformwire_color is the wireframe color, defaults to Color.black.val wire_width : float Lit.uniformwire_width is the wire width (TODO in which space), default to
1.val wire_only : bool Lit.uniformwire_only, if true only the wireframe is shown, defaults to
false.val create : ?raster:Lit.Effect.raster ->
?depth:Lit.Effect.depth ->
?blend:Lit.Effect.blend ->
?fill_color:Gg.Color.t ->
?wire_color:Gg.Color.t ->
?wire_width:float -> ?wire_only:bool -> unit -> Lit.Effect.tcreate () is a new wireframe effect, the optional parameters
can be used to preset the uniforms.