rt::image * image() const
The image of the texture.
Definition: imagetexture.cpp:10
Material texture.
Definition: texture.hpp:28
ImageTexture(rt::image *)
Construct a texture from a pointer to a rt::image.
Definition: imagetexture.cpp:6
Image texture.
Definition: imagetexture.hpp:31
virtual color value(const vector &) const
Get the value/color of the texture.
Definition: imagetexture.cpp:18
void setImage(rt::image *)
Set the image of the texture.
Definition: imagetexture.cpp:14