Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
11template <typename... Args>
12flecs::entity entity(Args &&... args) const;
13
19template <typename E, if_t< is_enum<E>::value > = 0>
20flecs::id id(E value) const;
21
27template <typename E, if_t< is_enum<E>::value > = 0>
28flecs::entity entity(E value) const;
29
35template <typename... Args>
36flecs::entity prefab(Args &&... args) const;
37
43template <typename T>
44flecs::entity entity(const char *name = nullptr) const;
45
51template <typename T>
52flecs::entity prefab(const char *name = nullptr) const;
flecs::entity prefab(Args &&... args) const
Create a prefab.
flecs::entity entity(const char *name=nullptr) const
Create an entity that's associated with a type.
flecs::entity entity(Args &&... args) const
Create an entity.
flecs::entity entity(E value) const
Convert enum constant to entity.
flecs::id id(E value) const
Convert enum constant to entity.
flecs::entity prefab(const char *name=nullptr) const
Create a prefab that's associated with a type.
Entity.
Definition entity.hpp:30
Class that wraps around a flecs::id_t.
Definition decl.hpp:27