{{newin|[[11.0]]|110|type=function}}
Sets whether [[love.graphics.setFrontFaceWinding|back-facing]] triangles in a [[Mesh]] are culled.

This is designed for use with low level custom hardware-accelerated 3D rendering via [[love.graphics.newMesh|custom vertex attributes]] on Meshes, custom [[love.graphics.newShader|vertex shaders]], and [[love.graphics.setDepthMode|depth testing]] with a [[PixelFormat|depth buffer]].

By default, both front- and back-facing triangles in Meshes are rendered.
== Function ==
=== Synopsis ===
<source lang="lua">
love.graphics.setMeshCullMode( mode )
</source>
=== Arguments ===
{{param|CullMode|mode|The Mesh face culling mode to use (whether to render everything, cull back-facing triangles, or cull front-facing triangles).}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::love.graphics]]
* [[love.graphics.getMeshCullMode]]
* [[love.graphics.setFrontFaceWinding]]
* [[love.graphics.setDepthMode]]
* [[Mesh]]
[[Category:Functions]]
{{#set:Description=Sets whether [[love.graphics.setFrontFaceWinding|back-facing]] triangles in a [[Mesh]] are culled.}}
{{#set:Sub-Category=State}}

== Other Languages ==
{{i18n|love.graphics.setMeshCullMode}}