Misc convenience macros.
More...
|
| #define | ecs_isa(e) ecs_pair(EcsIsA, e) |
| | Construct an IsA pair.
|
| |
| #define | ecs_childof(e) ecs_pair(EcsChildOf, e) |
| | Construct a ChildOf pair.
|
| |
| #define | ecs_dependson(e) ecs_pair(EcsDependsOn, e) |
| | Construct a DependsOn pair.
|
| |
| #define | ecs_with(e) ecs_pair(EcsWith, e) |
| | Construct a With pair.
|
| |
| #define | ecs_each(world, id) ecs_each_id(world, ecs_id(id)) |
| | Iterate entities with a component.
|
| |
| #define | ecs_each_pair(world, r, t) ecs_each_id(world, ecs_pair(r, t)) |
| | Iterate entities with a pair.
|
| |
| #define | ecs_each_pair_t(world, R, t) ecs_each_id(world, ecs_pair(ecs_id(R), t)) |
| | Iterate entities with a pair (type-safe first element).
|
| |
Misc convenience macros.
◆ ecs_childof
Construct a ChildOf pair.
Definition at line 924 of file flecs_c.h.
◆ ecs_dependson
Construct a DependsOn pair.
Definition at line 926 of file flecs_c.h.
◆ ecs_each
Iterate entities with a component.
Definition at line 931 of file flecs_c.h.
◆ ecs_each_pair
| #define ecs_each_pair |
( |
| world, |
|
|
| r, |
|
|
| t ) ecs_each_id(world, ecs_pair(r, t)) |
Iterate entities with a pair.
Definition at line 933 of file flecs_c.h.
◆ ecs_each_pair_t
Iterate entities with a pair (type-safe first element).
Definition at line 935 of file flecs_c.h.
◆ ecs_isa
| #define ecs_isa |
( |
| e | ) |
ecs_pair(EcsIsA, e) |
Construct an IsA pair.
Definition at line 922 of file flecs_c.h.
◆ ecs_with
| #define ecs_with |
( |
| e | ) |
ecs_pair(EcsWith, e) |
Construct a With pair.
Definition at line 928 of file flecs_c.h.