RenderWare V2.1

Previous Page Index Next Page

RwRaster *

RwGetCameraRaster(RwCamera *camera);

Description

Returns the cameras image as a raster.

Arguments

camera Camera from which raster is required.

Return Value

A raster on success, NULL otherwise.

Comments

The raster returned is the actual raster image of the camera. In some environments it may not be possible to return a cameras raster. In this case this function will return NULL.

See Also

RwCreateCamera()

RwGetRasterStride()

RwGetRasterPixels()

RwGetRasterWidth()

RwGetRasterHeight()

RwGetRasterDepth()