Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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