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
17template <typename... Comps, typename... Args>
18flecs::filter<Comps...> filter(Args &&... args) const;
19
24template <typename... Comps, typename... Args>
25flecs::filter_builder<Comps...> filter_builder(Args &&... args) const;
26
41template <typename Func>
42void each(Func&& func) const;
43
58template <typename T, typename Func>
59void each(Func&& func) const;
60
62template <typename Func>
63void each(flecs::id_t term_id, Func&& func) const;
64
flecs::filter< Comps... > filter(Args &&... args) const
Create a filter.
void each(Func &&func) const
Iterate over all entities with components in argument list of function.
flecs::filter_builder< Comps... > filter_builder(Args &&... args) const
Create a filter builder.
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.
Filter builder.
Definition builder.hpp:24