OpenLexocad
27.0
|
Entity traits for a 64 bits entity identifier. More...
#include <entt.hpp>
Public Types | |
using | entity_type = std::uint64_t |
Underlying entity type. More... | |
using | version_type = std::uint32_t |
Underlying version type. More... | |
using | difference_type = std::int64_t |
Difference type. More... | |
Static Public Attributes | |
static constexpr std::uint64_t | entity_mask = 0xFFFFFFFF |
Mask to use to get the entity number out of an identifier. More... | |
static constexpr std::uint64_t | version_mask = 0xFFFFFFFF |
Mask to use to get the version out of an identifier. More... | |
static constexpr auto | entity_shift = 32 |
Extent of the entity number within an identifier. More... | |
Entity traits for a 64 bits entity identifier.
A 64 bits entity identifier guarantees:
using entt::entt_traits< std::uint64_t >::difference_type = std::int64_t |
Difference type.
using entt::entt_traits< std::uint64_t >::entity_type = std::uint64_t |
Underlying entity type.
using entt::entt_traits< std::uint64_t >::version_type = std::uint32_t |
Underlying version type.
|
static |
Mask to use to get the entity number out of an identifier.
|
static |
Extent of the entity number within an identifier.
|
static |
Mask to use to get the version out of an identifier.