Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
SampleSource.h
Go to the documentation of this file.
1#pragma once
2
4#include "SDL/sdl_interface.h"
5
6namespace ph
7{
8
10{
11public:
13
14public:
15 void cook(const CoreCookingContext& ctx, CoreCookedUnit& cooked) override = 0;
16
17 ESdlTypeCategory getDynamicCategory() const override;
18
19public:
21 {
22 ClassType clazz("sample-source");
23 clazz.docName("Sample Source");
24 clazz.description("Engine component for generating sample values.");
25 return clazz;
26 }
27};
28
29// In-header Implementations:
30
35
36}// end namespace ph
Definition CoreCookedUnit.h:19
Definition CoreCookingContext.h:15
Core SDL resource abstraction. This class does not provide static/dynamic category information....
Definition CoreSdlResource.h:16
Definition SampleSource.h:10
static constexpr ESdlTypeCategory CATEGORY
Definition SampleSource.h:12
PH_DEFINE_SDL_CLASS(TSdlOwnerClass< SampleSource >)
Definition SampleSource.h:20
void cook(const CoreCookingContext &ctx, CoreCookedUnit &cooked) override=0
ESdlTypeCategory getDynamicCategory() const override
Definition SampleSource.h:31
SDL binding type for a canonical SDL resource class.
Definition TSdlOwnerClass.h:23
The root for all renderer implementations.
Definition EEngineProject.h:6
ESdlTypeCategory
Definition ESdlTypeCategory.h:15