SetPixelsState
GWorldFlags state ; Lock and purge attributes for offscreen pixel
map buffer
returns none
SetPixelsState sets the lock and purge states of the pixel map's off screen GWorldFlags, pixelsPurgeable and pixelsLocked.
You can also use SetPixelsState to set the keepLocal flag: pass keepLocal as a state parameter to specify that the offscreen graphics world stays in main
memory rather than being checked on an accelerator card. A graphics world that
has already been cached will be brought back to main memory. Clearing the flag
will again allow caching. Use this setting carefully, as keeping graphics world
local surrenders the benefits of graphics accelerators.