Partager via


D3DMZBUFFERTYPE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration provides values that identify types of depth buffering. These values are used in D3DMRS_ZENABLE render state (see D3DMRENDERSTATETYPE).

Syntax

typedef enum _D3DMZBUFFERTYPE {
  D3DMZB_FALSE       = 0,
  D3DMZB_TRUE        = 1,
  D3DMZB_USEW        = 2,
  D3DMZB_FORCE_DWORD = 0x7fffffff,
} D3DMZBUFFERTYPE;

Elements

  • D3DMZB_FALSE
    Indicates that depth buffering is disabled.
  • D3DMZB_TRUE
    Indicates the use of Z-buffering.
  • D3DMZB_USEW
    Indicates the use of W-buffering.
  • D3DMZB_FORCE_DWORD
    Forces the compiler to interpret the enumeration as a ULONG value. This value is not used directly in Direct3D Mobile programming.

Requirements

Header d3dmtypes.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Direct3D Mobile Enumerations
D3DMRENDERSTATETYPE