Export (0) Print
Expand All
Expand Minimize

DepthFormat Enumeration

Defines the format of data in a depth-stencil buffer.

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

public enum DepthFormat

 Member nameDescription
Depth16A buffer that contains 16-bits of depth data.
Depth24A buffer that contains 24-bits of depth data.
Depth24Stencil8A 32 bit buffer that contains 24 bits of depth data and 8 bits of stencil data.
NoneDo not create a depth buffer.

A depth buffer contains depth data and possibly stencil data. Control a depth buffer using a state object; for a more information, see What Is Depth Stencil State?.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7

Community Additions

ADD
Show:
© 2014 Microsoft