Share via


D3DZBUFFERTYPE

This 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;

Constants

  • 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. This value is not used.

Remarks

Members of this enumerated type are used with the D3DRS_ZENABLE render state.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8types.h.

See Also

D3DRENDERSTATETYPE

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.