Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
15template <typename... Comps, typename... Args>
16flecs::filter<Comps...> filter(Args &&... args) const;
17
22template <typename... Comps, typename... Args>
23flecs::filter_builder<Comps...> filter_builder(Args &&... args) const;
24
31template <typename Func>
32void each(Func&& func) const;
33
40template <typename T, typename Func>
41void each(Func&& func) const;
42
44template <typename Func>
45void each(flecs::id_t term_id, Func&& func) const;
46
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.
flecs::filter< Comps... > filter(Args &&... args) const
Create a filter.
Filter builder.
Definition: builder.hpp:24