Skip to content
Flecs
v4.1
Search
Ctrl K
include
flecs
addons
cpp
mixins
enum
entity_view.inl
Go to the documentation of this file.
1
/**
2
* @file addons/cpp/mixins/enum/entity_view.inl
3
* @brief Enum entity view mixin.
4
*/
5
6
/** Convert an entity to an enum constant.
7
*
8
* @memberof flecs::entity_view
9
* @ingroup cpp_entities
10
*/
11
template
<
typename
E>
12
E
to_constant
()
const
;
13
flecs::entity_view::to_constant
E to_constant() const
Convert an entity to an enum constant.
Esc
↑
↓
to navigate
↵
to open
Esc
to close