#include <core/Texture.h>
Inheritance diagram for Texture< T >:

Public Member Functions | |
| virtual T | value (const Vector2 &tex2d, const Vector3 &tex3d, Context &context) const =0 |
Textures are templated on return type. Currently there are two predfined Texture types: RGBTexture and FloatTexture. More types can be typedef'ed as appropriate.
|
||||||||||||||||||||
|
Lookup the value from a Texture.
Implemented in ConstantTexture< T >, ImageTexture, and SpectralTexture. |
1.4.3