This topic has not yet been rated - Rate this topic

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 name Description
Depth16 A buffer that contains 16-bits of depth data.
Depth24 A buffer that contains 24-bits of depth data.
Depth24Stencil8 A 32 bit buffer that contains 24 bits of depth data and 8 bits of stencil data.
None Do 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
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ