Sets the current global Z buffer state.
camera the camera for which the Z buffer state is to be set.
If successful returns camera, otherwise NULL.
RenderWares default usage of the Z buffer is to means that the Z buffer only contains meaningful information within a limited context. If the Z buffer camera functions are used within an immediate mode clump callback then the Z buffer data will be valid. At all other times unless the Camera Zstate is rwON the Z buffer contents will be indeterminate. The format of the Z buffer is described in the immediate mode section of the RenderWare V2.1 API manual.