RwCreateRaster(RwInt32 width, RwInt32 height);
Description
Creates a new raster.
Arguments
width Width of the raster (in pixels).
height Height of the raster (in pixels).
Return Value
A pointer to the new raster if successful, and NULL otherwise.
Comments
The depth of the raster created is the same as the current render depth (the current render depth can be retrieved by RwGetDeviceInfo()).
The rasters pixels are not initialized by RwCreateRaster(). The initial pixel values are undefined.
See Also