Share via


DepthStencilState.DepthRead Field

A built-in state object with settings for enabling a read-only depth stencil buffer.

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

Syntax

public static readonly DepthStencilState DepthRead

Remarks

This built-in state object has the following settings:

DepthBufferEnable = true,
DepthBufferWriteEnable = false,

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP