Photon Engine
2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
StratifiedSampleSource.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
EngineEnv/SampleSource/RuntimeSampleSource.h
"
4
#include "
SDL/sdl_interface.h
"
5
6
namespace
ph
7
{
8
9
class
StratifiedSampleSource
:
public
RuntimeSampleSource
10
{
11
public
:
12
void
cook
(
const
CoreCookingContext
& ctx,
CoreCookedUnit
& cooked)
override
;
13
14
public
:
15
PH_DEFINE_SDL_CLASS
(
TSdlOwnerClass<StratifiedSampleSource>
)
16
{
17
ClassType clazz(
"stratified"
);
18
clazz.docName(
"Stratified Sample Source"
);
19
clazz.description(
"Generating samples based on engine provided dimensional hints."
);
20
clazz.baseOn<
RuntimeSampleSource
>();
21
return
clazz;
22
}
23
};
24
25
}
// end namespace ph
RuntimeSampleSource.h
ph::CoreCookedUnit
Definition
CoreCookedUnit.h:19
ph::CoreCookingContext
Definition
CoreCookingContext.h:15
ph::RuntimeSampleSource
Definition
RuntimeSampleSource.h:17
ph::StratifiedSampleSource
Definition
StratifiedSampleSource.h:10
ph::StratifiedSampleSource::PH_DEFINE_SDL_CLASS
PH_DEFINE_SDL_CLASS(TSdlOwnerClass< StratifiedSampleSource >)
Definition
StratifiedSampleSource.h:15
ph::StratifiedSampleSource::cook
void cook(const CoreCookingContext &ctx, CoreCookedUnit &cooked) override
Definition
StratifiedSampleSource.cpp:8
ph::TSdlOwnerClass
SDL binding type for a canonical SDL resource class.
Definition
TSdlOwnerClass.h:23
ph
The root for all renderer implementations.
Definition
EEngineProject.h:6
sdl_interface.h
Source
EngineEnv
SampleSource
StratifiedSampleSource.h
Generated by
1.11.0