RenderWare V2.1

Previous Page Index Next Page

RwRaster *

RwBitmapRaster(void *bitmap, RwRasterOptions options);

Arguments

bitmap A pointer to a structure of type RwWinBitmapRaster as described below.

typedef struct {
HDC hdc;
HBITMAP hBitmap;
} RwWinBitmapRaster;

The device dependent bitmap can be of any size but should have a depth equal to the depth of display adapter on which Windows is running.

If running on an 8-bit display, the device context must have a palette object selected into it. The palette object provides the color table of the device dependent bitmap.

It is essential that the device dependent bitmap is not selected into the device context when RwBitmapRaster() is invoked.