UnloadFromGPU Advanced function Note that since OpenLayer 1.9 you shouldn't use this function if Settings::StoreMemoryBitmaps is turned off!
Unloads the Bitmap from the graphics card. Automatically done by the destructor and the Destroy()-method. OpenLayer handles uploading and destroying textures for you so you don't usually need to call this function. But if you wish to have more control of when the bitmap should reside in the gfx card you can use SendToGPU() and UnloadFromGPU() for that. Examples Bitmap myBmp( ... );
// Unload the texture information of the bitmap from the graphics card // myBmp.UnloadFromGPU(); Other functions of the class Bitmap
Questions about UnloadFromGPU? Click here. |