Management of OpenGL textures.
Definition: texture_manager.h:53
static void terminate()
destroy all textures.
Definition: texture_manager.cpp:149
static Texture * request(const std::string &image_file, Texture::WrapMode wrap=Texture::CLAMP_TO_EDGE, Texture::FilterMode filter=Texture::LINEAR)
Request a texture from the image file.
Definition: texture_manager.cpp:40
static void release(const Texture *texture)
Definition: texture_manager.cpp:137