Share via


DepthStencilState.Default Field

A built-in state object with default settings for using a depth stencil buffer.

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

Syntax

public static readonly DepthStencilState Default

Remarks

This built-in state object has the following settings:

DepthBufferEnable = true,
DepthBufferWriteEnable = true,

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP