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