|
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
|
Namespaces | |
| namespace | Deki |
Typedefs | |
| using | Deki::ComponentType = uint32_t |
Functions | |
| constexpr uint32_t | Deki::HashString (const char *str, uint32_t hash=2166136261u) |
| FNV-1a of a C string; the hash behind every type and property id. | |
| uint32_t | Deki::HashStringLen (const char *str, uint16_t length) |
| The same hash over a string with a length (msgpack keys are not null-terminated). | |
| constexpr uint32_t | Deki::HashStringView (std::string_view s) |
| The same hash over a string_view, usable in constant expressions. | |
| template<class T> | |
| constexpr ComponentType | Deki::TypeId () |
| The component type id of T: HashString of its fully qualified name. | |
| template<class T> | |
| constexpr const char * | Deki::TypeName () |
| The fully qualified name of T as a null-terminated string with static storage. | |
| template<class T> | |
| constexpr std::string_view | Deki::TypeNameOf () |
| The fully qualified name of T, such as "Game::Health". | |
| template<class T> | |
| constexpr const char * | Deki::TypeShortName () |
| The identifier of T as a null-terminated string with static storage. | |
| template<class T> | |
| constexpr std::string_view | Deki::TypeShortNameOf () |
| The identifier alone, such as "Health" for Game::Health. | |