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

Many applications clear the depth buffer before rendering each new frame. You can explicitly clear the depth buffer through Microsoft® Direct3D® Mobile by calling IDirect3DMobileDevice::Clearand specifying D3DMCLEAR_ZBUFFER for the Flagsparameter. The Clearmethod allows you to specify an arbitrary depth value in the Zparameter.

See Also

Concepts

Depth Buffers