|
Deki 1.3.0
Modular C++ 2D engine for embedded displays and desktop
|
Classes | |
| class | DekiComponent |
| Base class for all components (data-only). More... | |
Namespaces | |
| namespace | SceneFormat |
Macros | |
| #define | DECLARE_COMPONENT_TYPE(TypeName, BaseTypeName) |
| Declare component type with consistent type ID across translation units. | |
Typedefs | |
| using | ComponentType = uint32_t |
| Type alias for component type identification. | |
Functions | |
| constexpr uint32_t | DekiHashString (const char *str, uint32_t hash=2166136261u) |
| Compile-time string hash for consistent type IDs across translation units. | |
| uint32_t | DekiHashStringLen (const char *str, uint16_t length) |
| Runtime string hash with length (for msgpack strings without null terminator). | |
| #define DECLARE_COMPONENT_TYPE | ( | TypeName, | |
| BaseTypeName ) |
Declare component type with consistent type ID across translation units.
Uses FNV-1a hash of the type name to generate a unique, stable type ID. This ensures the same type ID is generated regardless of which .cpp file includes the header.
| using ComponentType = uint32_t |
Type alias for component type identification.
|
constexpr |
Compile-time string hash for consistent type IDs across translation units.
|
inline |
Runtime string hash with length (for msgpack strings without null terminator).