Definition: TextureLoader.hpp:11
Definition: Texture.hpp:6
static Texture getEmptyTexture(const std::string &name, const char *pixel="\xFF\xFF\xFF")
Definition: TextureLoader.cpp:12
static Texture getEmptyNormal()
Definition: TextureLoader.cpp:29
static Texture uploadTexture(const unsigned char *data, int width, int height)
Definition: TextureLoader.cpp:57
static Texture getEmptySpecular()
Definition: TextureLoader.cpp:33
static Texture getEmptyDiffuse()
Definition: TextureLoader.cpp:25
static std::map< std::string, Texture > textureCache
Definition: TextureLoader.hpp:25
static Texture getTexture(const std::string &path)
Definition: TextureLoader.cpp:37
static std::map< std::string, Texture > & getTextureCache()
Definition: TextureLoader.hpp:20