constant.cpp File Reference

#include "stdafx.h"
#include "textures/constant.h"

Go to the source code of this file.

Functions

ConstantTexture< float > * CreateConstantFloatTexture (const Transform &tex2world, const TextureParams &tp)
ConstantTexture< Spectrum > * CreateConstantSpectrumTexture (const Transform &tex2world, const TextureParams &tp)

Function Documentation

ConstantTexture<float>* CreateConstantFloatTexture ( const Transform tex2world,
const TextureParams tp 
)

Definition at line 30 of file constant.cpp.

References TextureParams::FindFloat().

Referenced by MakeFloatTexture().

ConstantTexture<Spectrum>* CreateConstantSpectrumTexture ( const Transform tex2world,
const TextureParams tp 
)

Definition at line 37 of file constant.cpp.

References TextureParams::FindSpectrum().

Referenced by MakeSpectrumTexture().

Generated on Sat Aug 28 20:00:12 2010 for pbrt by  doxygen 1.6.3