#include <mix.h>
Public Member Functions | |
MixTexture (boost::shared_ptr< Texture< T > > t1, boost::shared_ptr< Texture< T > > t2, boost::shared_ptr< Texture< float > > amt) | |
T | Evaluate (const DifferentialGeometry &dg) const |
Static Public Member Functions | |
static Texture< float > * | CreateFloatTexture (const Transform &tex2world, const TextureParams &tp) |
static Texture< Spectrum > * | CreateSpectrumTexture (const Transform &tex2world, const TextureParams &tp) |
Private Attributes | |
boost::shared_ptr< Texture< T > > | tex1 |
boost::shared_ptr< Texture< T > > | tex2 |
boost::shared_ptr< Texture < float > > | amount |
Definition at line 33 of file mix.h.
lux::MixTexture< T >::MixTexture | ( | boost::shared_ptr< Texture< T > > | t1, | |
boost::shared_ptr< Texture< T > > | t2, | |||
boost::shared_ptr< Texture< float > > | amt | |||
) | [inline] |
Definition at line 36 of file mix.h.
References lux::MixTexture< T >::amount, lux::MixTexture< T >::tex1, and lux::MixTexture< T >::tex2.
Texture< float > * lux::MixTexture< T >::CreateFloatTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) | [inline, static] |
Definition at line 57 of file mix.h.
References lux::TextureParams::GetFloatTexture().
Texture< Spectrum > * lux::MixTexture< T >::CreateSpectrumTexture | ( | const Transform & | tex2world, | |
const TextureParams & | tp | |||
) | [inline, static] |
Definition at line 65 of file mix.h.
References lux::TextureParams::GetFloatTexture(), and lux::TextureParams::GetSpectrumTexture().
T lux::MixTexture< T >::Evaluate | ( | const DifferentialGeometry & | dg | ) | const [inline, virtual] |
Implements lux::Texture< T >.
Definition at line 43 of file mix.h.
References lux::MixTexture< T >::amount, lux::MixTexture< T >::tex1, and lux::MixTexture< T >::tex2.
boost::shared_ptr<Texture<float> > lux::MixTexture< T >::amount [private] |
Definition at line 53 of file mix.h.
Referenced by lux::MixTexture< T >::Evaluate(), and lux::MixTexture< T >::MixTexture().
boost::shared_ptr<Texture<T> > lux::MixTexture< T >::tex1 [private] |
Definition at line 52 of file mix.h.
Referenced by lux::MixTexture< T >::Evaluate(), and lux::MixTexture< T >::MixTexture().
boost::shared_ptr<Texture<T> > lux::MixTexture< T >::tex2 [private] |
Definition at line 52 of file mix.h.
Referenced by lux::MixTexture< T >::Evaluate(), and lux::MixTexture< T >::MixTexture().