Loading [MathJax]/extensions/TeX/AMSmath.js
Radium Engine  1.5.20
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Textures management

Texture data and management class. First setup Ra::Engine::Data::TextureParameters. Optionnaly load image with TextureManager::loadTextureImage Create a Texture directly, or use TextureManager and get access to Texture by TextureManager::getTexture

Loading Texture to the gpu is done asynchronously, when needed, a texture register gpu task to the engine, to load or delete texture. If you have an active GL context, and want immediate gpu texture upload or delete, call Texture::initializeNow() or Texture::destroyNow()

See also