virtual unsigned int getTextureObject() const noexcept
Gets the texture object.
Definition: base_texture.cpp:77
std::string getName() const noexcept
Gets the name.
Definition: base_texture.cpp:90
virtual bool load(const std::string &filename)
Loads the texture.
Definition: base_texture.cpp:24
~BaseTexture()
Destroys the object.
Definition: base_texture.cpp:12
unsigned int getHeight() const noexcept
Gets the height.
Definition: base_texture.cpp:20
Class for base texture.
Definition: base_texture.h:16
virtual void bind(const unsigned int texture_unit)
Binds texture to opengl on the texture unit.
Definition: base_texture.cpp:69
unsigned int getWidth() const noexcept
Gets the width.
Definition: base_texture.cpp:16
void setName(const std::string name) noexcept
Sets the name.
Definition: base_texture.cpp:86
std::string to_string() const noexcept
Returns a string representation of the object.
Definition: base_texture.cpp:94
virtual bool isLoaded() const noexcept
Determines if loaded.
Definition: base_texture.cpp:82