Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
TTexture.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace ph
6{
7
8class SampleLocation;
9
10template<typename OutputType>
12{
13public:
14 using Output = OutputType;
15
16public:
17 inline TTexture() = default;
18 inline virtual ~TTexture() = default;
19
20 virtual void sample(const SampleLocation& sampleLocation, Output* out_value) const = 0;
21};
22
23}// end namespace ph
Definition SampleLocation.h:22
Definition TTexture.h:12
OutputType Output
Definition TTexture.h:14
TTexture()=default
virtual ~TTexture()=default
virtual void sample(const SampleLocation &sampleLocation, Output *out_value) const =0
The root for all renderer implementations.
Definition EEngineProject.h:6