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

#include <LdrRgbTexture2D.h>

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

Public Member Functions

 LdrRgbTexture2D ()
 
 LdrRgbTexture2D (std::unique_ptr< TAbstractPixelTex2D< LdrComponent, 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

◆ LdrRgbTexture2D() [1/2]

ph::LdrRgbTexture2D::LdrRgbTexture2D ( )

◆ LdrRgbTexture2D() [2/2]

ph::LdrRgbTexture2D::LdrRgbTexture2D ( std::unique_ptr< TAbstractPixelTex2D< LdrComponent, 3 > > texture)
explicit

Member Function Documentation

◆ sample()

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

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