Sdílet prostřednictvím


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)

Syntax

public DepthFormat AutoDepthStencilFormat { get; set; }

Property Value

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

Remarks

This member is ignored unless EnableAutoDepthStencil is true.

Warning

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.

See Also

Concepts

Predicated Tiling

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista