RenderState.DepthBufferEnable Property
Enables or disables depth buffering. The default is true.
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public bool DepthBufferEnable { get; set; }
Property Value
true if depth buffering is enabled; false otherwise.
See Also
Reference
RenderState Class
RenderState Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista