RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetRasterStride(RwRaster *raster);

Description

Retrieves the stride (width in bytes) of the raster.

Arguments

raster Pointer to the raster.

Return Value

The stride (width in bytes) of raster if successful, and -1 otherwise.

See Also

RwBitmapRaster()

RwCreateRaster()

RwGetRasterDepth()

RwGetRasterHeight()

RwGetRasterPixels()

RwGetRasterWidth()

RwReadMaskRaster()

RwReadRaster()