Rocket::Core::TextureDatabase Class Reference

#include <TextureDatabase.h>


Static Public Member Functions

static void Initialise ()
static void Shutdown ()
static TextureResourceFetch (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.

Detailed Description

Author:
Peter Curry

Member Function Documentation

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.


The documentation for this class was generated from the following files: