base class for providing texture mapping for materials. More...
#include <texture.h>
Inherits dyn_collectable.
Inherited by rtl_solidtexture and rtl_texturemap.
Texture classes are used in connjunction with rtl_material classes. Each material may or may not have an associated texture. If it does have a texture associated with it then the texture's texture function will be called. This allows the definition of surface properties to a material before shading by the illumination model takes place.
Sub-classes must over-ride the texture function.
[protected]Protected default constructor prohibits public creation of this base class.
[protected, pure virtual]This function is called by the given material which has this to allow the definition of the materials surface properties before it is shaded onto an object.
Reimplemented in rtl_texturemap and rtl_binarytexture.