Note: This documentation is preliminary and is subject to change.
Defines depth buffer formats.
Definition
Visual Basic .NET
Public Enum DepthFormat
C#
public enum DepthFormat
Managed C++
__value public enum DepthFormat
JScript .NET
public enum DepthFormat
Members
Member
Value
Description
Unknown
0
Format is unknown.
D24SingleS8
83
A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 8 bits for the stencil channel.
D32SingleLockable
82
A lockable format in which the depth value is represented as a standard IEEE floating-point number.
D24X4S4
79
A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 4 bits for the stencil channel.
D24X8
77
A 32-bit z-buffer bit depth that uses 24 bits for the depth channel.
L16
81
A 16-bit luminance format.
D16
80
A 16-bit z-buffer bit depth.
D24S8
75
A nonlockable format that contains 24 bits of depth (in a 24-bit floating-point format - 20E4) and 8 bits of stencil.
D15S1
73
A 16-bit z-buffer bit depth in which 15 bits are reserved for the depth channel and 1 bit is reserved for the stencil channel.
D32
71
A 32-bit z-buffer bit depth.
D16Lockable
70
A 16-bit z-buffer bit depth.
Remarks
All depth-stencil formats except D16Lockable indicate no particular bit ordering per pixel, and the driver is allowed to consume more than the indicated number of bits per depth channel (but not stencil channel).