RwDeviceControl(RwDeviceAction action, RwInt32 param1, void *param2, RwInt32 size);
Arguments
action On the Macintosh, RenderWare provides the following device controls actions:
· rwMACPIXELDOUBLE
This action is used to control the stretching of a cameras viewport. param1 is TRUE to enable pixel stretching and FALSE to disable it. In either case param2 and size are ignored. Note: RenderWare relies on the Operating System to perform the stretching via CopyBits(). The performance of this is very dependant on the hardware installed in your computer.
· rwMACBACKGROUNDPALETTE
This action is used to control how RenderWare realizes its palette. To make RenderWare realize its palette as a background palette pass a non-zero value for param1. To make RenderWare realize its palette as a foreground palette pass zero for param1. In either case param2 and size are ignored. This control returns TRUE if successful, and FALSE otherwise.
· rwMACSETRENDERDEPTH
This action is used to force RenderWare to render at a specific depth. It can only be called before a display device has been started. If an application is using RwOpen() to initialise RenderWare then the equivalent RwOpenExt() parameter should be used instead.
Comments
Please note, these control actions are highly device dependent and, as such, may be significantly modified or even dropped from future releases of RenderWare.