RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetRasterDepth(RwRaster *raster);

Description

Retrieves the depth (in bits) of the raster.

Arguments

raster Pointer to the raster.

Return Value

The depth (in bits) of raster if successful, and -1 otherwise.

Comments

The raster depth is always equal to RenderWare’s current render depth.

See Also

RwBitmapRaster()

RwCreateRaster()

RwGetDeviceInfo()

RwGetRasterHeight()

RwGetRasterPixels()

RwGetRasterStride()

RwGetRasterWidth()

RwReadMaskRaster()

RwReadRaster()