Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
unary_texture_operators.h File Reference
#include "Core/Texture/TTexture.h"
#include "Core/Texture/SampleLocation.h"
#include "Core/Texture/Function/binary_texture_operators.h"
#include "Core/Texture/Function/ternary_texture_operators.h"
#include "Utility/traits.h"
#include "Math/Color/Spectrum.h"
#include "Math/TArithmeticArray.h"
#include <Common/assertion.h>
#include <cstddef>
#include <type_traits>
#include <memory>
#include <utility>
#include <concepts>
#include <array>

Go to the source code of this file.

Classes

class  ph::texfunc::TDefaultConversion< InputType, OutputType >
 Constructs output value from input value. More...
 
class  ph::texfunc::TScalarToSpectrum< T >
 Converts a scalar value to spectrum. More...
 
class  ph::texfunc::TAbsolute< InputType, OutputType >
 
class  ph::texfunc::TUnaryFromBinary< InputType, ConstantType, OutputType, BinaryOperatorType >
 Uses binary operator as a unary one by treating the second input as constant. More...
 
class  ph::texfunc::TUnaryFromTernary< InputType, ConstantTypeA, ConstantTypeB, OutputType, TernaryOperatorType >
 Uses ternary operator as a unary one by treating the second and third inputs as constants. More...
 
class  ph::TUnaryTextureOperator< InputType, OutputType, OperatorType >
 

Namespaces

namespace  ph
 The root for all renderer implementations.
 
namespace  ph::texfunc
 

Concepts

concept  ph::texfunc::CUnaryOperator
 

Typedefs

template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TAddConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TSubtractConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TMultiplyConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TDivideConstant
 
template<typename InputType , typename ConstantType , typename OutputType >
using ph::texfunc::TPowerConstant
 
template<typename InputType , typename ConstantTypeA , typename ConstantTypeB , typename OutputType >
using ph::texfunc::TClampConstant
 
using ph::texfunc::SpectrumAddScalar = TAddConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using ph::texfunc::SpectrumSubtractScalar = TSubtractConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using ph::texfunc::SpectrumMultiplyScalar = TMultiplyConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using ph::texfunc::SpectrumDivideScalar = TDivideConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
using ph::texfunc::SpectrumPowerScalar = TPowerConstant<math::Spectrum, math::ColorValue, math::Spectrum>
 
template<typename InputType , typename OutputType >
using ph::TConversionTexture = TUnaryTextureOperator<InputType, OutputType, texfunc::TDefaultConversion<InputType, OutputType>>