RenderWare V2.1

Previous Page Index Next Page

RwCamera *

RwUndamageCameraViewport(RwCamera *camera, RwInt32 x, RwInt32 y, RwInt32 width, RwInt32 height);

Description

Marks a rectangular area of the viewport as "undamaged" (not in need of updating).

Arguments

camera Pointer to the camera.

x X coordinate of the rectangle’s top left corner (in viewport space coordinates).

y Y coordinate of the rectangle’s top left corner (in viewport space coordinates).

width Width of the rectangle (in viewport space units).

height Height of the rectangle (in viewport space units).

Return Value

The argument camera if successful, and NULL otherwise.

See Also

RwClearCameraViewport()

RwDamageCameraViewport()

RwGetClumpViewportRect()

RwInvalidateCameraViewport()

RwShowCameraImage()