ConstantTexture< T > Class Template Reference

#include <texture.h>

Inheritance diagram for ConstantTexture< T >:

Texture< T > ReferenceCounted

List of all members.

Public Member Functions

 ConstantTexture (const T &v)
Evaluate (const DifferentialGeometry &) const

Private Attributes

value


Detailed Description

template<class T>
class ConstantTexture< T >

Definition at line 114 of file texture.h.


Constructor & Destructor Documentation

template<class T>
ConstantTexture< T >::ConstantTexture ( const T &  v  )  [inline]

Definition at line 117 of file texture.h.

References ConstantTexture< T >::value.


Member Function Documentation

template<class T>
T ConstantTexture< T >::Evaluate ( const DifferentialGeometry  )  const [inline, virtual]

Implements Texture< T >.

Definition at line 118 of file texture.h.

References ConstantTexture< T >::value.


Member Data Documentation

template<class T>
T ConstantTexture< T >::value [private]


The documentation for this class was generated from the following file:

Generated on Mon Jul 20 17:31:54 2009 for pbrt by  doxygen 1.5.6