const unsigned int getHeight() const
Gets the Height of the texture.
Definition: texture.h:38
The class responsible for loading Textures.
Definition: texture.h:11
const unsigned int getID() const
Gets the ID of the texture.
Definition: texture.h:40
const std::string getTypeName() const
Return the name of the texture's type.
Definition: texture.h:44
void unbind() const
Unbinds the texture.
Definition: texture.cpp:55
const std::string getPath() const
Gets the path of the texture.
Definition: texture.h:42
const unsigned int getWidth() const
Gets the Width of the texture.
Definition: texture.h:36
void bind() const
Binds the texture.
Definition: texture.cpp:49
Texture(const std::string &path, bool flip=true, const std::string &typeName="texture_diffuse")
Creates Textures from images.
Definition: texture.cpp:8
~Texture()
Definition: texture.cpp:14