Clearing Depth Buffers (Windows CE 5.0)

Send Feedback

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::Clear and specifying D3DMCLEAR_ZBUFFER for the Flags parameter. The Clear method allows you to specify an arbitrary depth value in the Z parameter.

See Also

Depth Buffers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.