void PEXCopyZBufferToPixmap( Display *display, PEXRenderer renderer, Pixmap pixmap )
None.
Invoke PEXCopyZBufferToPixmap to copy the content of the Z-buffer to the specified pixmap.
If the renderer state attribute of the renderer specified by the renderer argument is PEXRendering or PEXMultipassRendering, then the renderer copies the content of the Z-buffer bound to the drawable associated with the renderer to the specified pixmap. The format of the values copied to the pixmap is implementation-dependent.
To determine the correct pixmap depth for copying the Z-buffer, see the PEXGetAncillaryBufferInfo function.
The renderer's clip list is not considered by this function.
If the renderer state is PEXPicking, then the validity of the values copied from the Z-buffer is implementation-dependent.
If the renderer state is PEXIdle, then this function has no effect.
For a list of all Renderer functions and related topics, see Rendering.