RwClearCameraViewport(RwCamera *camera);
Description
Clears the cameras image buffer. If the camera does not have a backdrop raster the viewport will be cleared to the cameras background color. If the camera has a backdrop raster the cameras backdrop viewport rectangle will be filled with the backdrop raster. The remainder of the viewport will be cleared to the cameras background color.
Arguments
camera Pointer to the camera.
Return Value
The argument camera if successful, and NULL otherwise.
Comment
This function can only be called within the context of an RwBeginCameraUpdate() RwEndCameraUpdate() block.
See Also