RenderWare V2.1

Previous Page Index Next Page

RwBool

RwDestroyRaster(RwRaster *raster);

Description

Destroys the raster.

Arguments

raster Pointer to the raster.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

It is an error to attempt to destroy a texture’s raster. RwDestroyTexture() destroys both a texture and its raster. This also applies to rasters selected into texture by RwCreateTexture() or RwSetTextureRaster().

RwDestroyCamera() does not destroy a camera’s backdrop raster. The backdrop raster should be destroyed by RwDestroyRaster().

See Also

RwBitmapRaster()

RwCreateRaster()

RwCreateTexture()

RwDestroyCamera()

RwDestroyTexture()

RwDuplicateRaster()

RwGetTextureRaster()

RwReadRaster()

RwReadMaskRaster()

RwSetCameraBackdrop()

RwSetTextureRaster()