RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwClearStereoCameraViewport(RwCamera *camera);

Description

Clears the stereo camera’s image buffer. If the camera does not have a backdrop raster the viewport will be cleared to the camera’s background color. If the camera has a backdrop raster the camera’s backdrop viewport rectangle will be filled with the backdrop raster. The remainder of the viewport will be cleared to the camera’s background color.

Arguments

camera Pointer to the camera.

Return Value

The argument camera if successful, and NULL otherwise.

Comment

This function is analogous to RwClearCameraViewport() for mono camera.

This function can only be called within the context of an RwBeginStereoCameraUpdate()RwEndStereoCameraUpdate() block.

camera should have been created using RwCreateStereoCamera()

See Also

RwBeginStereoCameraUpdate()

RwDamageCameraViewport()

RwEndStereoCameraUpdate()

RwInvalidateCameraViewport()

RwSetCameraBackColor()

RwSetCameraBackdrop()

RwSetCameraBackdropViewportRect()

RwUndamageCameraViewport()