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>
untyped_component & constant(const char *name, T value)
Add constant.
Entity.
Definition entity.hpp:30
flecs::entity to_entity(E constant) const
Convert enum constant to entity.