EnTT 3.15.0
|
Common way to access various properties of components. More...
#include <component.hpp>
Public Types | |
using | element_type = Type |
Element type. | |
using | entity_type = Entity |
Underlying entity identifier. | |
Static Public Attributes | |
static constexpr bool | in_place_delete = internal::in_place_delete<Type>::value |
Pointer stability, default is false . | |
static constexpr std::size_t | page_size = internal::page_size<Type>::value |
Page size, default is ENTT_PACKED_PAGE for non-empty types. | |
Common way to access various properties of components.
Type | Element type. |
Entity | A valid entity type. |
Definition at line 43 of file component.hpp.
using entt::component_traits< Type, Entity, typename >::element_type = Type |
Element type.
Definition at line 47 of file component.hpp.
using entt::component_traits< Type, Entity, typename >::entity_type = Entity |
Underlying entity identifier.
Definition at line 49 of file component.hpp.
|
staticconstexpr |
Pointer stability, default is false
.
Definition at line 52 of file component.hpp.
|
staticconstexpr |
Page size, default is ENTT_PACKED_PAGE
for non-empty types.
Definition at line 54 of file component.hpp.