Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
Option.h
Go to the documentation of this file.
1#pragma once
2
4#include "SDL/sdl_interface.h"
5
6#include <string>
7
8namespace ph
9{
10
11class Option : public TSdlResourceBase<ESdlTypeCategory::Ref_Option>
12{
13public:
14 inline Option() = default;
15
16public:
18 {
19 ClassType clazz(std::string(sdl::category_to_string(CATEGORY)));
20 clazz.docName("Option");
21 clazz.description(
22 "Options that control engine runtime behavior.");
23 return clazz;
24 }
25};
26
27}// end namespace ph
Definition Option.h:12
PH_DEFINE_SDL_CLASS(TSdlOwnerClass< Option >)
Definition Option.h:17
Option()=default
SDL binding type for a canonical SDL resource class.
Definition TSdlOwnerClass.h:23
A convenient ISdlResource with core requirements implemented. This class is similar to SdlResourceBas...
Definition TSdlResourceBase.h:16
static constexpr ESdlTypeCategory CATEGORY
Definition TSdlResourceBase.h:22
std::string_view category_to_string(const ESdlTypeCategory category)
Definition ESdlTypeCategory.h:59
The root for all renderer implementations.
Definition EEngineProject.h:6