{{newin (日本語)|[[11.0 (日本語)|11.0]]|110|type=関数}}
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.
== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.setMeshCullMode( mode )
</source>
=== 引数 ===
{{param (日本語)|CullMode|mode|The Mesh face culling mode to use (whether to render everything, cull back-facing triangles, or cull front-facing triangles).}}
=== 返値 ===
ありません。

== 関連 ==
* [[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 (日本語)}}

== そのほかの言語 ==
{{i18n (日本語)|love.graphics.setMeshCullMode}}