Share via


DepthStencilState.None Field

A built-in state object with settings for not 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 None

Remarks

This built-in state object has the following settings:

DepthBufferEnable = false,
DepthBufferWriteEnable = false,

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP