MemoryBitmapsStored

Advanced function

static bool MemoryBitmapsStored();

Returns true if the Bitmaps are stored in the memory.

The memory bitmap storing is off by default. However, the storage may be turned on by calling Settings::StoreMemoryBitmaps( true ). You can use this function to check if the storage is on or off.

Examples

// Check if the memory bitmaps are stored //
ifSettings::MemoryBitmapsStored() ) {
   allegro_message( "Bitmaps are also stored in the memory" );
}


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


Questions about MemoryBitmapsStored? Click here.