The D3DZBUFFERTYPE enumerated type describes depth-buffer formats for use with the D3DRENDERSTATE_ZENABLE render state.
typedef enum _D3DZBUFFERTYPE {
D3DZB_FALSE = 0,
D3DZB_TRUE = 1,
D3DZB_USEW = 2,
D3DZB_FORCE_DWORD = 0x7fffffff,
} D3DZBUFFERTYPE;
The D3DZB_FALSE and D3DZB_TRUE values are interchangeable with the TRUE and FALSE macro values previously used with D3DRENDERSTATE_ZENABLE.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in d3dtypes.h.