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
3
#include "
Core/Texture/texture_fwd.h
"
4
5
namespace
ph
6
{
7
8
class
SampleLocation;
9
10
template
<
typename
OutputType>
11
class
TTexture
12
{
13
public
:
14
using
Output
= OutputType;
15
16
public
:
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
ph::SampleLocation
Definition
SampleLocation.h:22
ph::TTexture
Definition
TTexture.h:12
ph::TTexture::Output
OutputType Output
Definition
TTexture.h:14
ph::TTexture::TTexture
TTexture()=default
ph::TTexture::~TTexture
virtual ~TTexture()=default
ph::TTexture::sample
virtual void sample(const SampleLocation &sampleLocation, Output *out_value) const =0
ph
The root for all renderer implementations.
Definition
EEngineProject.h:6
texture_fwd.h
Source
Core
Texture
TTexture.h
Generated by
1.11.0