Texture storing one single constant of arbitrary type. This texture provides only a constant value. Input color usages are ignored. For color-related constants, consider using TConstantTristimulusTexture
or TConstantSpectralTexture
; otherwise, it is recommended to bake color-related side effects (e.g., color usages) into the constant.
More...
#include <constant_textures.h>
template<typename OutputType>
class ph::TConstantTexture< OutputType >
Texture storing one single constant of arbitrary type. This texture provides only a constant value. Input color usages are ignored. For color-related constants, consider using TConstantTristimulusTexture
or TConstantSpectralTexture
; otherwise, it is recommended to bake color-related side effects (e.g., color usages) into the constant.
◆ TConstantTexture()
template<typename OutputType >
◆ sample()
template<typename OutputType >
The documentation for this class was generated from the following file: