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
17template <typename... Comps, typename... Args>
18flecs::query<Comps...> query(Args &&... args) const;
19
25
30template <typename... Comps, typename... Args>
31flecs::query_builder<Comps...> query_builder(Args &&... args) const;
32
47template <typename Func>
48void each(Func&& func) const;
49
64template <typename T, typename Func>
65void each(Func&& func) const;
66
68template <typename Func>
69void each(flecs::id_t term_id, Func&& func) const;
70
flecs::query_builder< Comps... > query_builder(Args &&... args) const
Create a query builder.
void each(Func &&func) const
Iterate over all entities with components in argument list of function.
void each(flecs::id_t term_id, Func &&func) const
Iterate over all entities with provided (component) id.
void each(Func &&func) const
Iterate over all entities with provided component.
flecs::query< Comps... > query(Args &&... args) const
Create a query.
flecs::query query(flecs::entity query_entity) const
Create a query from entity.
Entity.
Definition entity.hpp:30
Query builder.
Definition builder.hpp:24