Export (0) Print
Expand All

GraphicsDeviceManager.PreferredDepthStencilFormat Property

Gets or sets the format of the depth stencil.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

public DepthFormat PreferredDepthStencilFormat { get; set; }

Property Value

The format of the depth stencil.

For an example of using this property, see How To: Draw a Shadow and What Is a Stencil Buffer?

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2014 Microsoft