|
OpenLexocad
27.0
|
Entity traits for a 16 bits entity identifier. More...
#include <entt.hpp>
Public Types | |
| using | entity_type = std::uint16_t |
| Underlying entity type. More... | |
| using | version_type = std::uint8_t |
| Underlying version type. More... | |
| using | difference_type = std::int32_t |
| Difference type. More... | |
Static Public Attributes | |
| static constexpr std::uint16_t | entity_mask = 0xFFF |
| Mask to use to get the entity number out of an identifier. More... | |
| static constexpr std::uint16_t | version_mask = 0xF |
| Mask to use to get the version out of an identifier. More... | |
| static constexpr auto | entity_shift = 12 |
| Extent of the entity number within an identifier. More... | |
Entity traits for a 16 bits entity identifier.
A 16 bits entity identifier guarantees:
| using entt::entt_traits< std::uint16_t >::difference_type = std::int32_t |
Difference type.
| using entt::entt_traits< std::uint16_t >::entity_type = std::uint16_t |
Underlying entity type.
| using entt::entt_traits< std::uint16_t >::version_type = std::uint8_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.