GraphicsDevice.DepthStencilState Property

XNA Game Studio 4.0
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

public DepthStencilState DepthStencilState { get; set; }

Property Value

A DepthStencilState instance.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions