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)

public static readonly DepthStencilState DepthRead

This built-in state object has the following settings:

DepthBufferEnable = true,
DepthBufferWriteEnable = false,

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show: