OpenLayer Offline Manual

OpenLayer | Settings | StoreMemoryBitmaps StoreMemoryBitmaps Advanced function
static void StoreMemoryBitmaps( | bool turnedOn )
Choose whether the Bitmaps are stored in the memory or not. Off by default. The Bitmaps are always stored in the graphics card (unless the UnloadFromGPU -function has been called) but not in the memory. If you wish to be used the SendToGPU / UnloadFromGPU -functions of Bitmaps you have to turn on the memory bitmap storing before loading the Bitmaps. Since OpenLayer 2.0 it's possible to use UnloadToMemory instead of UnloadFromGPU if you wish to keep a memory version of the unloaded Bitmap. Forcing the contents of the bitmap to be stored in the memory increases the memory usage. Examples // Choose the Bitmaps to be stored in the memory as well as to the graphics card // Settings::StoreMemoryBitmaps( true ); Other functions of the class Settings
SetAntialiasing | Turns the anti-aliasing on or off
SetCircleAccuracy | Sets the accuracy of the circle drawing functions
SetCollisionPolyAccuracy | Sets the accuracy of the generated collision polygons
SetCollisionPolyAlphaLimit | Sets the maxium alpha value which is considered transparent by the collision polygon generation
Advanced functions
SetTextureMapping | Turns the OpenGL texture mapping on or off
TextureMappingUsed | Returns true if texture mapping is turned on
SetOrthographicProjection | Sets the orthographic projection as the active OpenGL projection mode
RestoreOldProjection | Restores the old projection mode
StoreMemoryBitmaps | Choose the Bitmaps to be stored in the memory
MemoryBitmapsStored | Returns true if the Bitmaps are stored in the memory
Back to the main page of the manual Questions about StoreMemoryBitmaps? Click here.