PresentationParameters.AutoDepthStencilFormat Property

Gets or sets a value specifying the format of the depth-stencil surface that the device will automatically create.

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

public DepthFormat AutoDepthStencilFormat { get; set; }

Property Value

The format of the depth-stencil surface that the device will automatically create.

This member is ignored unless EnableAutoDepthStencil is true.

Bb195056.caution(en-US,XNAGameStudio.20).gifCaution

In cases where the size of the back buffer and depth stencil buffer exceed the size of the Xbox 360 10 MB of embedded memory (EDRAM), predicated tiling is utilized on this platform to compensate for the additional memory requirements. Predicated tiling is a process by which scene rendering is performed multiple times on subsections of the final render target dimensions. Using a depth-stencil surface directly affects the size of the back buffer and depth-stencil buffer and may trigger predicated tiling.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

ADD
Show: