|
sandbox
|
Entity traits. More...
#include <entity.hpp>
Public Types | |
| using | value_type = basic_entity_traits< Type >::value_type |
| using | entity_type = basic_entity_traits< Type >::entity_type |
| using | version_type = basic_entity_traits< Type >::version_type |
Public Types inherited from sbx::ecs::basic_entity_traits< Type > | |
| using | value_type = Type |
| using | value_type = Type |
Static Public Attributes | |
| static constexpr auto | entity_mask = basic_entity_traits<Type>::entity_mask |
| static constexpr auto | version_mask = basic_entity_traits<Type>::version_mask |
| static constexpr auto | version_shift = std::popcount(entity_mask) |
| static constexpr auto | page_size = std::size_t{4096} |
Entity traits.
| Type | Unsigned integral, enumeration or class type |