Class Texture

Class Documentation

class Texture

Public Functions

Texture()
Texture(const char *file_loc, std::shared_ptr<TextureWrappingMode> wrapping_mode)
bool load_texture_without_alpha_channel()
bool load_texture_with_alpha_channel()
bool load_SRGB_texture_without_alpha_channel()
bool load_SRGB_texture_with_alpha_channel()
std::string get_filename() const
GLuint get_id() const
void use_texture(unsigned int index)
void unbind_texture(unsigned int index)
void clear_texture_context()
~Texture()