Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ISdlInstantiable.h
Go to the documentation of this file.
1#pragma once
2
3#include "SDL/sdl_fwd.h"
4
5#include <cstddef>
6#include <string_view>
7
8namespace ph
9{
10
12{
13public:
14 virtual ~ISdlInstantiable() = default;
15
19 virtual std::size_t numFields() const = 0;
20
24 virtual const SdlField* getField(std::size_t index) const = 0;
25
29 virtual std::string_view getTypeName() const = 0;
30
34 virtual std::string_view getDescription() const = 0;
35
36 // TODO: some way to cooperate with the `CSdlInstance` concept
37};
38
39}// end namespace ph
Definition ISdlInstantiable.h:12
virtual std::string_view getTypeName() const =0
virtual std::string_view getDescription() const =0
virtual const SdlField * getField(std::size_t index) const =0
virtual std::size_t numFields() const =0
virtual ~ISdlInstantiable()=default
Definition SdlField.h:19
The root for all renderer implementations.
Definition EEngineProject.h:6