Difference between revisions of "love.graphics.getMeshCullMode"

m
m (0.11.0 -> 11.0 + validate link)
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
 
Gets whether [[love.graphics.setFrontFaceWinding|back-facing]] triangles in a [[Mesh]] are culled.
 
Gets whether [[love.graphics.setFrontFaceWinding|back-facing]] triangles in a [[Mesh]] are culled.
  
Line 18: Line 18:
 
* [[love.graphics.setMeshCullMode]]
 
* [[love.graphics.setMeshCullMode]]
 
* [[love.graphics.setFrontFaceWinding]]
 
* [[love.graphics.setFrontFaceWinding]]
* [[love.graphics.setDepthTest]]
+
* [[love.graphics.setDepthMode]]
 
* [[Mesh]]
 
* [[Mesh]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Revision as of 12:49, 29 December 2018

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

Gets whether back-facing triangles in a Mesh are culled.

Mesh face culling is designed for use with low level custom hardware-accelerated 3D rendering via custom vertex attributes on Meshes, custom vertex shaders, and depth testing with a depth buffer.

Function

Synopsis

mode = love.graphics.getMeshCullMode( mode )

Arguments

None.

Returns

CullMode mode
The Mesh face culling mode in use (whether to render everything, cull back-facing triangles, or cull front-facing triangles).

See Also


Other Languages