RenderWare V2.1

Previous Page Index Next Page

RwBool

RwDestroyCamera(RwCamera *camera);

Description

Destroys the camera.

Arguments

camera Pointer to the camera.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

All cameras not explicitly destroyed are automatically destroyed by RwClose().

This function does not destroy the device dependent object specified in the call to RwCreateCamera(). Furthermore, the camera’s backdrop raster (if any) is not destroyed.

See Also

RwClose()

RwCreateCamera()

RwDuplicateCamera()

RwSetCameraBackdrop()