Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType > Class Template Reference

#include <ternary_texture_operators.h>

Inheritance diagram for ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType >:
ph::TTexture< OutputType >

Public Types

using InputTexResA = std::shared_ptr<TTexture<InputTypeA>>
 
using InputTexResB = std::shared_ptr<TTexture<InputTypeB>>
 
using InputTexResC = std::shared_ptr<TTexture<InputTypeC>>
 
- Public Types inherited from ph::TTexture< OutputType >
using Output = OutputType
 

Public Member Functions

 TTernaryTextureOperator (InputTexResA inputA, InputTexResB inputB, InputTexResC inputC)
 
 TTernaryTextureOperator (InputTexResA inputA, InputTexResB inputB, InputTexResC inputC, OperatorType op)
 
void sample (const SampleLocation &sampleLocation, OutputType *const out_value) const override
 
- Public Member Functions inherited from ph::TTexture< OutputType >
 TTexture ()=default
 
virtual ~TTexture ()=default
 

Member Typedef Documentation

◆ InputTexResA

template<typename InputTypeA , typename InputTypeB , typename InputTypeC , typename OutputType , texfunc::CTernaryOperator< InputTypeA, InputTypeB, InputTypeC, OutputType > OperatorType>
using ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType >::InputTexResA = std::shared_ptr<TTexture<InputTypeA>>

◆ InputTexResB

template<typename InputTypeA , typename InputTypeB , typename InputTypeC , typename OutputType , texfunc::CTernaryOperator< InputTypeA, InputTypeB, InputTypeC, OutputType > OperatorType>
using ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType >::InputTexResB = std::shared_ptr<TTexture<InputTypeB>>

◆ InputTexResC

template<typename InputTypeA , typename InputTypeB , typename InputTypeC , typename OutputType , texfunc::CTernaryOperator< InputTypeA, InputTypeB, InputTypeC, OutputType > OperatorType>
using ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType >::InputTexResC = std::shared_ptr<TTexture<InputTypeC>>

Constructor & Destructor Documentation

◆ TTernaryTextureOperator() [1/2]

template<typename InputTypeA , typename InputTypeB , typename InputTypeC , typename OutputType , texfunc::CTernaryOperator< InputTypeA, InputTypeB, InputTypeC, OutputType > OperatorType>
ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType >::TTernaryTextureOperator ( InputTexResA inputA,
InputTexResB inputB,
InputTexResC inputC )
inline

◆ TTernaryTextureOperator() [2/2]

template<typename InputTypeA , typename InputTypeB , typename InputTypeC , typename OutputType , texfunc::CTernaryOperator< InputTypeA, InputTypeB, InputTypeC, OutputType > OperatorType>
ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType >::TTernaryTextureOperator ( InputTexResA inputA,
InputTexResB inputB,
InputTexResC inputC,
OperatorType op )
inline

Member Function Documentation

◆ sample()

template<typename InputTypeA , typename InputTypeB , typename InputTypeC , typename OutputType , texfunc::CTernaryOperator< InputTypeA, InputTypeB, InputTypeC, OutputType > OperatorType>
void ph::TTernaryTextureOperator< InputTypeA, InputTypeB, InputTypeC, OutputType, OperatorType >::sample ( const SampleLocation & sampleLocation,
OutputType *const out_value ) const
inlineoverridevirtual

The documentation for this class was generated from the following file: