UnloadFromGPU Advanced function You don't usually need to call this function as OpenLayer automatically calls this function when you a TextRenderer is destroyed (the destructor or the Destroy() -method is called). However, if you wish to have more control of when the font resides in the GPU you can use this function. Note that the TextRenderer will be invalidated if you call this function but all the resources of the font are not unloaded. Examples TextRenderer renderer( ... );
// Unloads the font information from the graphics card. // renderer.UnloadFromGPU(); Other functions of the class TextRenderer
Questions about UnloadFromGPU? Click here. |