Texture(const std::string &path)
Load a texture from a file.
Definition texture.h:45
Texture(Image &&img, const std::string &path)
Creates a Texture object, with the given image and its path.
Definition texture.h:63
std::string & path()
Get the path of the texture.
Definition texture.h:80
const Image & image() const
Get the image of the texture.
Definition texture.h:87
Texture(const Image &img, const std::string &path)
Creates a Texture object, with the given image and its path.
Definition texture.h:53
const std::string & path() const
Get the path of the texture.
Definition texture.h:73
Image & image()
Get the image of the texture.
Definition texture.h:94
A concept representing a Texture.
Definition texture.h:122