RwDuplicateCamera(RwCamera *camera, RwRaster *raster);
Creates a new camera with the same attributes as camera.
camera Pointer to the camera.
raster Optional user raster defining an area of memory to be used for the cameras image buffer.
A pointer to the new camera if successful, and NULL otherwise.
An image buffer can be shared between cameras by passing the existing RwRaster retrieved by RwGetCameraRaster() into this function. if raster is NULL then a new image bugger will be created for the camera.
If camera has a backdrop raster the raster will not be duplicated. The new camera will share the raster with camera.