Public Member Functions | |
~DotsTexture () | |
DotsTexture (TextureMapping2D *m, Reference< Texture< T > > c1, Reference< Texture< T > > c2) | |
T | Evaluate (const DifferentialGeometry &dg) const |
Private Attributes | |
Reference< Texture< T > > | outsideDot |
Reference< Texture< T > > | insideDot |
TextureMapping2D * | mapping |
Definition at line 29 of file dots.cpp.
DotsTexture< T >::~DotsTexture | ( | ) | [inline] |
DotsTexture< T >::DotsTexture | ( | TextureMapping2D * | m, | |
Reference< Texture< T > > | c1, | |||
Reference< Texture< T > > | c2 | |||
) | [inline] |
Definition at line 35 of file dots.cpp.
References DotsTexture< T >::insideDot, DotsTexture< T >::mapping, and DotsTexture< T >::outsideDot.
T DotsTexture< T >::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements Texture< T >.
Definition at line 41 of file dots.cpp.
References Floor2Int(), DotsTexture< T >::insideDot, TextureMapping2D::Map(), DotsTexture< T >::mapping, Noise(), and DotsTexture< T >::outsideDot.
Reference<Texture<T> > DotsTexture< T >::outsideDot [private] |
Definition at line 62 of file dots.cpp.
Referenced by DotsTexture< T >::DotsTexture(), and DotsTexture< T >::Evaluate().
Reference<Texture<T> > DotsTexture< T >::insideDot [private] |
Definition at line 62 of file dots.cpp.
Referenced by DotsTexture< T >::DotsTexture(), and DotsTexture< T >::Evaluate().
TextureMapping2D* DotsTexture< T >::mapping [private] |
Definition at line 63 of file dots.cpp.
Referenced by DotsTexture< T >::DotsTexture(), DotsTexture< T >::Evaluate(), and DotsTexture< T >::~DotsTexture().