void load_file(const std::string &path)
Load a file from the given path.
void bind()
Bind the texture to the opengl context.
void set_border_color(color col)
When the texture's wrapping mode is set to CLAMP_TO_BORDER, there needs to be a configured border col...
void set_wrap_mode(texture_wrap_mode mode)
Set the texture's wrapping mode.
void set_filter_mode(texture_filter_mode mode)
Sets the texture's filtering mode.
void del()
Delete the internal opengl representation.
void load_color(color col)
Load a 1x1 pixel texture of a given color.
Internal opengl texture representation.
Definition: texture.hpp:29