Manages unique type IDs for component types in the ECS system. More...
#include <Registry.hpp>
Static Public Member Functions | |
| static uint32_t | get_id_by_name (const char *name) |
| template<typename T> | |
| static uint32_t | get_id () |
Manages unique type IDs for component types in the ECS system.
Uses a static counter to assign unique identifiers to each component type at compile-time, enabling type-safe component management throughout the registry.
Definition at line 14 of file Registry.hpp.
|
inlinestatic |
Definition at line 19 of file Registry.hpp.
|
static |
Definition at line 7 of file Registry.cpp.