RenderWare V2.1

Previous Page Index Next Page

RwRaster *

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 raster’s pixels are not initialized by RwCreateRaster(). The initial pixel values are undefined.

See Also

RwBitmapRaster()

RwCreateTexture()

RwDestroyRaster()

RwDuplicateRaster()

RwGetDeviceInfo()

RwGetTextureRaster()

RwReadRaster()

RwReadMaskRaster()

RwSetCameraBackdrop()

RwSetTextureRaster()