Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::texfunc Namespace Reference

Classes

class  TAbsolute
 
class  TAdd
 
class  TClamp
 
class  TDefaultConversion
 Constructs output value from input value. More...
 
class  TDivide
 
class  TMultiply
 
class  TPower
 
class  TScalarToSpectrum
 Converts a scalar value to spectrum. More...
 
class  TSubtract
 
class  TUnaryFromBinary
 Uses binary operator as a unary one by treating the second input as constant. More...
 
class  TUnaryFromTernary
 Uses ternary operator as a unary one by treating the second and third inputs as constants. More...
 

Concepts

concept  CBinaryOperator
 
concept  CTernaryOperator
 
concept  CUnaryOperator
 

Typedefs

using AddSpectrum = TAdd<math::Spectrum, math::Spectrum, math::Spectrum>
 
using SubtractSpectrum = TSubtract<math::Spectrum, math::Spectrum, math::Spectrum>
 
using MultiplySpectrum = TMultiply<math::Spectrum, math::Spectrum, math::Spectrum>
 
using DivideSpectrum = TDivide<math::Spectrum, math::Spectrum, math::Spectrum>
 
using PowerSpectrum = TPower<math::Spectrum, math::Spectrum, math::Spectrum>
 
using ClampSpectrum = TClamp<math::Spectrum, math::Spectrum, math::Spectrum, math::Spectrum>
 
template<typename InputType , typename ConstantType , typename OutputType >
using TAddConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using TSubtractConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using TMultiplyConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using TDivideConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using TPowerConstant
 
template<typename InputType , typename ConstantTypeA , typename ConstantTypeB , typename OutputType >
using TClampConstant
 
using SpectrumAddScalar = TAddConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using SpectrumSubtractScalar = TSubtractConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using SpectrumMultiplyScalar = TMultiplyConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using SpectrumDivideScalar = TDivideConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using SpectrumPowerScalar = TPowerConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 

Typedef Documentation

◆ AddSpectrum

◆ ClampSpectrum

◆ DivideSpectrum

◆ MultiplySpectrum

◆ PowerSpectrum

◆ SpectrumAddScalar

◆ SpectrumDivideScalar

◆ SpectrumMultiplyScalar

◆ SpectrumPowerScalar

◆ SpectrumSubtractScalar

◆ SubtractSpectrum

◆ TAddConstant

template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TAddConstant
Initial value:
TUnaryFromBinary<
InputType,
ConstantType,
OutputType,
TAdd<InputType, ConstantType, OutputType>>

◆ TClampConstant

template<typename InputType , typename ConstantTypeA , typename ConstantTypeB , typename OutputType >
using ph::texfunc::TClampConstant
Initial value:
TUnaryFromTernary<
InputType,
ConstantTypeA,
ConstantTypeB,
OutputType,
TClamp<InputType, ConstantTypeA, ConstantTypeB, OutputType>>

◆ TDivideConstant

template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TDivideConstant
Initial value:
TUnaryFromBinary<
InputType,
ConstantType,
OutputType,
TDivide<InputType, ConstantType, OutputType>>

◆ TMultiplyConstant

template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TMultiplyConstant
Initial value:
TUnaryFromBinary<
InputType,
ConstantType,
OutputType,
TMultiply<InputType, ConstantType, OutputType>>

◆ TPowerConstant

template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TPowerConstant
Initial value:
TUnaryFromBinary<
InputType,
ConstantType,
OutputType,
TPower<InputType, ConstantType, OutputType>>

◆ TSubtractConstant

template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TSubtractConstant
Initial value:
TUnaryFromBinary<
InputType,
ConstantType,
OutputType,
TSubtract<InputType, ConstantType, OutputType>>