RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwShowStereoCameraImage(RwCamera *camera, void *param);

Description

Copies the damaged regions of the camera’s image buffer to the portion of the display (screen or window) specified by the camera’s viewport.

Arguments

camera Pointer to the camera.

param Device dependent parameter.

Return Value

The argument camera if successful, and NULL otherwise.

Comments

For a description of the device dependent parameter, param, see Appendix B.

This function often immediately follows an RwBeginStereoCameraUpdate()RwEndStereoCameraUpdate() block in order to copy the rendering performed within the RwBeginStereoCameraUpdate()RwEndStereoCameraUpdate() block to the display.

Note that the camera’s image buffer is not automatically cleared after the call to RwShowStereoCameraImage(). To clear the image buffer, call RwClearStereoCameraViewport().

If a number of separate cameras are being used to provide different images simultaneously, it is advisable to do the RwBeginStereoCameraUpdate()RwEndStereoCameraUpdate()block for each camera first, then perform all the calls to RwShowStereoCameraImage()afterwards.

See Also

RwBeginStereoCameraUpdate()

RwDamageCameraViewport()

RwEndStereoCameraUpdate()

RwInvalidateCameraViewport()

RwRenderStereoClump()

RwRenderStereoScene()

RwUndamageCameraViewport()