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

#include <HdrRgbTexture2D.h>

Inheritance diagram for ph::HdrRgbTexture2D:
ph::TTexture< math::Spectrum >

Public Member Functions

 HdrRgbTexture2D ()
 
 HdrRgbTexture2D (std::unique_ptr< TAbstractPixelTex2D< HdrComponent, 3 > > texture)
 
void sample (const SampleLocation &sampleLocation, math::Spectrum *out_value) const override
 
- Public Member Functions inherited from ph::TTexture< math::Spectrum >
 TTexture ()=default
 
virtual ~TTexture ()=default
 

Additional Inherited Members

- Public Types inherited from ph::TTexture< math::Spectrum >
using Output
 

Constructor & Destructor Documentation

◆ HdrRgbTexture2D() [1/2]

ph::HdrRgbTexture2D::HdrRgbTexture2D ( )

◆ HdrRgbTexture2D() [2/2]

ph::HdrRgbTexture2D::HdrRgbTexture2D ( std::unique_ptr< TAbstractPixelTex2D< HdrComponent, 3 > > texture)
explicit

Member Function Documentation

◆ sample()

void ph::HdrRgbTexture2D::sample ( const SampleLocation & sampleLocation,
math::Spectrum * out_value ) const
overridevirtual

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