#include <TextureDatabase.h>
Static Public Member Functions | |
| static void | Initialise () |
| static void | Shutdown () |
| static TextureResource * | Fetch (const String &source, const String &source_directory) |
| static void | ReleaseTextures () |
| Releases all textures in the database. | |
| static void | RemoveTexture (TextureResource *texture) |
| Removes a texture from the database. | |
| static void | ReleaseTextures (RenderInterface *render_interface) |
| Release all textures bound through a render interface. | |
| TextureResource * Rocket::Core::TextureDatabase::Fetch | ( | const String & | source, | |
| const String & | source_directory | |||
| ) | [static] |
If the requested texture is already in the database, it will be returned with an extra reference count. If not, it will be loaded through the application's render interface.