D3DZBUFFERTYPE enumeration
Defines constants that describe depth-buffer formats.
typedef enum D3DZBUFFERTYPE {
D3DZB_FALSE = 0,
D3DZB_TRUE = 1,
D3DZB_USEW = 2,
D3DZB_FORCE_DWORD = 0x7fffffff
} D3DZBUFFERTYPE, *LPD3DZBUFFERTYPE;
-
D3DZB_FALSE
-
Disable depth buffering.
-
D3DZB_TRUE
-
Enable z-buffering.
-
D3DZB_USEW
-
Enable w-buffering.
-
D3DZB_FORCE_DWORD
-
Forces this enumeration to compile to 32 bits in size. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.
Members of this enumerated type are used with the D3DRS_ZENABLE render state.
Requirement | Value |
---|---|
Header |
|