GraphicsDevice.DepthStencilState Property

Gets or sets a system-defined instance of a depth-stencil state object. The default value is DepthStencilState.Default.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

Syntax

public DepthStencilState DepthStencilState { get; set; }

Property Value

A DepthStencilState instance.

See Also

Reference

DepthStencilState Class
DepthStencilState Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP