RenderWare V2.1

Previous Page Index Next Page

RwBool

RwGetDeviceInfo(RwDeviceInfo info, void *value, RwInt32 size);

Comments

Thes following controls override or are in addition to the generic RwGetDeviceInfo():

The following options apply when the output device is palette based:

• rwPALETTE Returns the palette object RenderWare installs into the output windowt. value should point to a variable of type PaletteHandle. On return from RwGetDeviceInfo() this variable will contain the handle of the palette object. Applications should not modify this palette object directly. Instead the RenderWare API function RwSetPaletteEntries() should be used to modify the RenderWare palette.

RenderWare V2.1 support the following Macintosh specific information types:

• rwMACISBACKGROUNDPALETTE
A pointer to a boolean (RwBool) which will be non-zero if RenderWare realizes its palette as a background palette and zero if it realizes its palette as a foreground palette.•