types Namespace
Definition
Classes Index
| class | ComponentTypeId |
|
Unique type identifier for component types. More... | |
Typedefs Index
| using | EntityId = uint32_t |
|
Unique identifier for an entity within an EntityPool. More... | |
Variables Index
| constexpr size_t | EntityTombstone = std::numeric_limits<size_t>::max() |
|
Sentinel value indicating an invalid or removed sparse index. More... | |
Typedefs
EntityId
|
Unique identifier for an entity within an EntityPool.
Used as the index into the sparse array of an EntityPool. Combined with a VersionId in an EntityHandle, it enables safe entity references that detect stale handles after entity removal.
- See Also
- See Also
VersionId
- See Also
EntityPool
Definition at line 26 of file EntityId.ixx.
Variables
EntityTombstone
| constexpr |
Sentinel value indicating an invalid or removed sparse index.
Used in sparse-set data structures (e.g., EntityPool, GameObjectPool) to mark slots that do not contain valid entity references. When a slot contains this value, the corresponding entity has been removed or was never assigned.
- See Also
EntityPool
- See Also
GameObjectPool
Definition at line 26 of file EntityTombstone.ixx.
Referenced by helios::engine::runtime::pooling::GameObjectPool::acquire, helios::engine::runtime::pooling::GameObjectPool::lock, helios::engine::runtime::pooling::GameObjectPool::release and helios::engine::runtime::pooling::GameObjectPool::releaseAndRemove.
The documentation for this namespace was generated from the following files:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.