Texture(const std::string &path)
Load a texture from a file.
Definition texture.h:46
Texture(Image &&img, const std::string &path)
Creates a Texture object, with the given image and its path.
Definition texture.h:64
std::string & path()
Get the path of the texture.
Definition texture.h:81
const Image & image() const
Get the image of the texture.
Definition texture.h:88
Texture(const Image &img, const std::string &path)
Creates a Texture object, with the given image and its path.
Definition texture.h:54
const std::string & path() const
Get the path of the texture.
Definition texture.h:74
Image & image()
Get the image of the texture.
Definition texture.h:95