IDirect3DRMFrame::SetZbufferMode

HRESULT SetZbufferMode(D3DRMZBUFFERMODE d3drmZBM);

Sets the z-buffer mode; that is, whether z-buffering is enabled or disabled.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

d3drmZBM

One of the members of the D3DRMZBUFFERMODE enumerated type, specifying the z-buffer mode. The default value is D3DRMZBUFFER_FROMPARENT.