Platform SDK: DirectX

CONST_D3DZBUFFERTYPE

The CONST_D3DZBUFFERTYPE enumeration describes depth-buffer formats for use with the D3DRENDERSTATE_ZENABLE render state.

Enum CONST_D3DZBUFFERTYPE
    D3DZB_FALSE        = 0  
    D3DZB_TRUE         = 1  
    D3DZB_USEW         = 2  
End Enum
D3DZB_FALSE
Disable depth-buffering.
D3DZB_TRUE
Enable z-buffering.
D3DZB_USEW
Enable w-buffering.

Remarks

The D3DZB_FALSE and D3DZB_TRUE values are interchangeable with the True and False macro values previously used with D3DRENDERSTATE_ZENABLE.

See Also

Direct3DDevice7.SetRenderState, Depth Buffers