lovr.graphics.isCullingEnabled
Returns whether or not culling is active. Culling is an optimization that avoids rendering the back face of polygons. This improves performance by reducing the number of polygons drawn, but requires that the vertices in triangles are specified in a consistent clockwise or counter clockwise order.
isEnabled = lovr.graphics.isCullingEnabled()
Arguments
None
Returns
Name | Type | Description |
isEnabled | boolean | Whether or not culling is enabled. |
Notes
Culling is disabled by default.
See also
lovr.graphics.setCullingEnabled
lovr.graphics