Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public DepthStencilState DepthStencilState { get; set; }

Property Value

A DepthStencilState instance.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

Show:
© 2016 Microsoft