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

#include <binary_texture_operators.h>

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

Public Types

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

Public Member Functions

 TBinaryTextureOperator (InputTexResA inputA, InputTexResB inputB)
 
 TBinaryTextureOperator (InputTexResA inputA, InputTexResB inputB, 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 OutputType , texfunc::CBinaryOperator< InputTypeA, InputTypeB, OutputType > OperatorType>
using ph::TBinaryTextureOperator< InputTypeA, InputTypeB, OutputType, OperatorType >::InputTexResA = std::shared_ptr<TTexture<InputTypeA>>

◆ InputTexResB

template<typename InputTypeA , typename InputTypeB , typename OutputType , texfunc::CBinaryOperator< InputTypeA, InputTypeB, OutputType > OperatorType>
using ph::TBinaryTextureOperator< InputTypeA, InputTypeB, OutputType, OperatorType >::InputTexResB = std::shared_ptr<TTexture<InputTypeB>>

Constructor & Destructor Documentation

◆ TBinaryTextureOperator() [1/2]

template<typename InputTypeA , typename InputTypeB , typename OutputType , texfunc::CBinaryOperator< InputTypeA, InputTypeB, OutputType > OperatorType>
ph::TBinaryTextureOperator< InputTypeA, InputTypeB, OutputType, OperatorType >::TBinaryTextureOperator ( InputTexResA inputA,
InputTexResB inputB )
inline

◆ TBinaryTextureOperator() [2/2]

template<typename InputTypeA , typename InputTypeB , typename OutputType , texfunc::CBinaryOperator< InputTypeA, InputTypeB, OutputType > OperatorType>
ph::TBinaryTextureOperator< InputTypeA, InputTypeB, OutputType, OperatorType >::TBinaryTextureOperator ( InputTexResA inputA,
InputTexResB inputB,
OperatorType op )
inline

Member Function Documentation

◆ sample()

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

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