RenderWare V2.1

Previous Page Index Next Page

RwBool

RwSetUserRasterParameters(RwRaster *raster, RwInt32 stride,
void *pixels);

Description

Allows the alteration of the characteristics of a user built raster.

Arguments

raster Pointer to raster to be altered.

stride New rasters stride.

pixels New pixel pointer.

Return Value

TRUE on success, else FALSE.

Comments

This function allows the altering of a users rasters characteristics. This can be used for example if the raster is being used to hold a cameras image and the image is double buffered. Setting the new pixel pointer once the screens are swapped can be performed through this function.

The raster to be altered by this function must have been created using the RwCreateUserRaster() function.

See Also

RwCreateUserRaster()

RwCreateCamera()