Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::TLinearGradientTexture< OutputType > Class Template Reference

#include <TLinearGradientTexture.h>

Inheritance diagram for ph::TLinearGradientTexture< OutputType >:
ph::TTexture< OutputType >

Public Member Functions

 TLinearGradientTexture (real beginU, const std::shared_ptr< TTexture< OutputType > > &beginTexture, real endU, const std::shared_ptr< TTexture< OutputType > > &endTexture)
 
 TLinearGradientTexture (const math::Vector2R &beginUV, const std::shared_ptr< TTexture< OutputType > > &beginTexture, const math::Vector2R &endUV, const std::shared_ptr< TTexture< OutputType > > &endTexture)
 
 TLinearGradientTexture (const math::Vector3R &beginUVW, const std::shared_ptr< TTexture< OutputType > > &beginTexture, const math::Vector3R &endUVW, const std::shared_ptr< TTexture< OutputType > > &endTexture)
 
void sample (const SampleLocation &sampleLocation, OutputType *out_value) const override
 
- Public Member Functions inherited from ph::TTexture< OutputType >
 TTexture ()=default
 
virtual ~TTexture ()=default
 

Additional Inherited Members

- Public Types inherited from ph::TTexture< OutputType >
using Output = OutputType
 

Constructor & Destructor Documentation

◆ TLinearGradientTexture() [1/3]

template<typename OutputType >
ph::TLinearGradientTexture< OutputType >::TLinearGradientTexture ( real beginU,
const std::shared_ptr< TTexture< OutputType > > & beginTexture,
real endU,
const std::shared_ptr< TTexture< OutputType > > & endTexture )
inline

◆ TLinearGradientTexture() [2/3]

template<typename OutputType >
ph::TLinearGradientTexture< OutputType >::TLinearGradientTexture ( const math::Vector2R & beginUV,
const std::shared_ptr< TTexture< OutputType > > & beginTexture,
const math::Vector2R & endUV,
const std::shared_ptr< TTexture< OutputType > > & endTexture )
inline

◆ TLinearGradientTexture() [3/3]

template<typename OutputType >
ph::TLinearGradientTexture< OutputType >::TLinearGradientTexture ( const math::Vector3R & beginUVW,
const std::shared_ptr< TTexture< OutputType > > & beginTexture,
const math::Vector3R & endUVW,
const std::shared_ptr< TTexture< OutputType > > & endTexture )
inline

Member Function Documentation

◆ sample()

template<typename OutputType >
void ph::TLinearGradientTexture< OutputType >::sample ( const SampleLocation & sampleLocation,
OutputType * out_value ) const
inlineoverridevirtual

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