Flecs
v4.1
A fast entity component system (ECS) for C & C++
Toggle main menu visibility
Loading...
Searching...
No Matches
mixin.inl
Go to the documentation of this file.
1
5
12
17
template
<
typename
... Comps,
typename
... Args>
18
flecs::query
<Comps...>
query
(Args &&... args)
const
;
19
24
flecs::query<>
query
(
flecs::entity
query_entity)
const
;
25
30
template
<
typename
... Comps,
typename
... Args>
31
flecs::query_builder
<Comps...>
query_builder
(Args &&... args)
const
;
32
53
template
<
typename
Func>
54
void
each
(Func&& func)
const
;
55
70
template
<
typename
T,
typename
Func>
71
void
each
(Func&& func)
const
;
72
74
template
<
typename
Func>
75
void
each
(
flecs::id_t
term_id, Func&& func)
const
;
76
flecs::id_t
ecs_id_t id_t
ID type.
Definition
c_types.hpp:20
flecs::entity
Entity.
Definition
entity.hpp:30
flecs::query_builder
Query builder.
Definition
builder.hpp:24
flecs::query
Typed query.
Definition
impl.hpp:262
flecs::world::query_builder
flecs::query_builder< Comps... > query_builder(Args &&... args) const
Create a query builder.
flecs::world::each
void each(Func &&func) const
Iterate over all entities with components in the argument list of the function.
flecs::world::each
void each(flecs::id_t term_id, Func &&func) const
Iterate over all entities with the provided (component) ID.
flecs::world::each
void each(Func &&func) const
Iterate over all entities with the provided component.
flecs::world::query
flecs::query query(flecs::entity query_entity) const
Create a query from an entity.
flecs::world::query
flecs::query< Comps... > query(Args &&... args) const
Create a query.