UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::resource Namespace Reference

Classes

singleton  GenericContainer
 
class  Manager
 
singleton  ResourceContainer
 

Functions

bool Initialize (Manager *manager)
 Initializes the module with the given Manager. More...
 
void Release ()
 Releases the module, disabling it. More...
 
Managermanager ()
 Getter for the manager of the module. More...
 
action::SpriteAnimationTableGetSpriteAnimationTableFromFile (const std::string &file)
 
graphic::GLTexture * GetTextureFromTag (const std::string &tag)
 
graphic::GLTexture * GetTextureFromFile (const std::string &file)
 
graphic::TextureAtlasGetTextureAtlasFromTag (const std::string &tag)
 
graphic::TextureAtlasGetTextureAtlasFromFile (const std::string &file)
 
text::LanguageWordGetLanguageWord (const std::string &tag)
 
template<class T >
T * NullLoad (const std::string &filepath)
 

Function Documentation

text::LanguageWord* ugdk::resource::GetLanguageWord ( const std::string &  tag)
action::SpriteAnimationTable* ugdk::resource::GetSpriteAnimationTableFromFile ( const std::string &  file)
graphic::TextureAtlas* ugdk::resource::GetTextureAtlasFromFile ( const std::string &  file)
graphic::TextureAtlas* ugdk::resource::GetTextureAtlasFromTag ( const std::string &  tag)
graphic::GLTexture* ugdk::resource::GetTextureFromFile ( const std::string &  file)
graphic::GLTexture* ugdk::resource::GetTextureFromTag ( const std::string &  tag)
bool ugdk::resource::Initialize ( Manager *  manager)

Initializes the module with the given Manager.

Manager* ugdk::resource::manager ( )

Getter for the manager of the module.

template<class T >
T* ugdk::resource::NullLoad ( const std::string &  filepath)
inline
void ugdk::resource::Release ( )

Releases the module, disabling it.