triangle-state
GPU-accelerated rendering » GPU state

Prev:triangle-cull-state
Next:point-state


Vocabulary
gpu.state

Class description
The triangle-state controls how triangles are rasterized.
• The front-mode and back-mode slots determine how a front- or back-facing triangle is rendered.
• triangle-points renders the vertices of triangles as if they were points.
• triangle-lines renders lines across the edges of triangles.
• triangle-fill, the default, fills the entire surface of triangles.
• The antialias? slot contains a boolean value that decides whether the edges of triangles should be smoothed.


See also
<triangle-state>, get-triangle-state

Definition


Methods