Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Send Feedback on this topic to the authors