FilterMode
The filter mode of the texture.
Definition texture.h:50
WrapMode
The wrap mode of the texture.
Definition texture.h:45
@ CLAMP_TO_EDGE
Clamp the texture coordinate to the range [0, 1].
Definition texture.h:46
Management of OpenGL textures.
Definition texture_manager.h:53
static void terminate()
Destroy all textures and release their memory.
Definition texture_manager.cpp:147
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)
Release a texture (deallocate its memory).
Definition texture_manager.cpp:135