Spec-Zone.ru › LÖVE

love.graphics.getMeshCullMode

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

  • love.graphics
  • love.graphics.setMeshCullMode
  • love.graphics.setFrontFaceWinding
  • love.graphics.setDepthMode
  • Mesh


© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.graphics.getMeshCullMode

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API