Singleton for loading textures (not threadsafe)
More...
#include <texture_manager.hh>
|
GLuint | loadTexture (const char *filename) |
| load a texture on the GPU, returned value is the texture ID, or 0 for failure More...
|
|
Singleton for loading textures (not threadsafe)
Definition at line 19 of file texture_manager.hh.
Stg::TextureManager::TextureManager |
( |
void |
| ) |
|
|
inlineprivate |
GLuint TextureManager::loadTexture |
( |
const char * |
filename | ) |
|
load a texture on the GPU, returned value is the texture ID, or 0 for failure
Definition at line 14 of file texture_manager.cc.
GLuint Stg::TextureManager::_mains_texture_id |
GLuint Stg::TextureManager::_stall_texture_id |
The documentation for this class was generated from the following files: