Flecs: include/flecs/addons/cpp/mixins/enum/mixin.inl Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
5
11template <typename E, if_t< is_enum<E>::value > = 0>
12 flecs::entity to_entity(E constant) const;
flecs::component::constant
untyped_component & constant(const char *name, int32_t value)
Add constant.
Definition untyped_component.inl:191
flecs::entity
Entity.
Definition entity.hpp:30
flecs::world::to_entity
flecs::entity to_entity(E constant) const
Convert enum constant to entity.