Difference between revisions of "CullMode"

(Created page)
 
m (0.11.0 -> 11.0)
 
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=enum}}
+
{{newin|[[11.0]]|110|type=enum}}
 
How [[Mesh]] geometry is culled when rendering.
 
How [[Mesh]] geometry is culled when rendering.
  

Latest revision as of 12:43, 29 December 2018

Available since LÖVE 11.0
This enum is not supported in earlier versions.

How Mesh geometry is culled when rendering.

Constants

back
Back-facing triangles in Meshes are culled (not rendered). The vertex order of a triangle determines whether it is back- or front-facing.
front
Front-facing triangles in Meshes are culled.
none
Both back- and front-facing triangles in Meshes are rendered.

See Also

Other Languages