|
tess 1.0.0
Performance-first tile and path simulation substrate
|
#include <tess/ecs/flecs/flecs_adapter.h>
Public Types | |
| using | entity_type = flecs::entity_t |
Static Public Member Functions | |
| static auto | to_handle (flecs::entity_t entity) noexcept -> EntityHandle |
| static auto | to_entity (EntityHandle handle) noexcept -> flecs::entity_t |
Lossless conversion between Flecs' 64-bit entity ID and EntityHandle.
The native null representation is mapped explicitly. The all-ones value is reserved by EntityHandle for null and is therefore not a representable live Flecs ID; debug builds assert if a caller supplies it.