The TextureManager loads and handles textures.
Definition texturemanager.h:25
static TextureManager & instance()
void removeTexture(unsigned int textureId)
Removes a previously generated OpenGL texture.
unsigned int loadTexture(const std::filesystem::path &filename, bool interpolate=true, float anisotropicFilterSize=1.f, int mipmapLevels=8)
Loads a texture to the TextureManager.
unsigned int loadTexture(const Image &img, bool interpolate=true, float anisotropicFilterSize=1.f, int mipmapLevels=8)
Loads a texture to the TextureManager.