Retrieving a Depth Buffer (Windows CE 5.0)

Send Feedback

The following code example shows how to use the IDirect3DMobileDevice::GetDepthStencilSurface method to retrieve a pointer to the depth-buffer surface owned by the device.

    IDirect3DMobileSurface** pZBuffer;

    m_d3dmDevice->GetDepthStencilSurface( &pZBuffer );

See Also

Depth Buffers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.