Szerkesztés

Megosztás a következőn keresztül:


D3DZBUFFERTYPE enumeration

Defines constants that describe depth-buffer formats.

Syntax

typedef enum D3DZBUFFERTYPE { 
  D3DZB_FALSE        = 0,
  D3DZB_TRUE         = 1,
  D3DZB_USEW         = 2,
  D3DZB_FORCE_DWORD  = 0x7fffffff
} D3DZBUFFERTYPE, *LPD3DZBUFFERTYPE;

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. Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits. This value is not used.

Remarks

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

Requirements

Requirement Value
Header
D3D9Types.h

See also

Direct3D Enumerations

D3DRENDERSTATETYPE