Defines which mode the graphics device will use for culling. By default culling is on in DE.
View code on GitHub
Namespace: DeltaEngine.GraphicsAssembly: DeltaEngine.Graphics (in DeltaEngine.Graphics.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
Enabled | 0 | Enables clockwise backface culling which is the default behavior in OpenGL. In DirectX it would be the opposite but we unify all implementations to the OpenGL behavior because (almost) all mobile platforms are OpenGL based. Front facing triangles are counter clockwise. OpenGL: http://www.opengl.org/wiki/Face_Culling DirectX: http://xboxforums.create.msdn.com/forums/p/1469/62375.aspx XNA: http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.rasterizerstate.cullmode.aspx View code on GitHub | |
Disabled | 1 | No culling is used at all. Backfaces will be visible, should only be used for debugging. View code on GitHub |
See Also