Photon Engine 2.0.0-beta
A physically based renderer.
|
Describes enum in SDL. More...
#include <SdlEnum.h>
Classes | |
struct | TEntry |
Public Types | |
using | Entry = TEntry<int64> |
Public Member Functions | |
SdlEnum (std::string name) | |
virtual Entry | getEntry (std::size_t entryIndex) const =0 |
virtual std::size_t | numEntries () const =0 |
const std::string & | getName () const |
const std::string & | getDescription () const |
std::string | getEntryDescription (std::size_t entryIndex) const |
Protected Member Functions | |
SdlEnum & | setDescription (std::string description) |
SdlEnum & | setEntryDescription (std::size_t entryIndex, std::string description) |
Describes enum in SDL.
Note that it is highly encouraged to follow several conventions while using SDL enum:
using ph::SdlEnum::Entry = TEntry<int64> |
|
inlineexplicit |
|
inline |
|
pure virtual |
Implemented in ph::TSdlGeneralEnum< InEnumType, MAX_ENTRIES >.
|
inline |
|
inline |
|
pure virtual |
Implemented in ph::TSdlGeneralEnum< InEnumType, MAX_ENTRIES >.
|
inlineprotected |
|
inlineprotected |