![]() |
Flecs v4.1
A fast entity component system (ECS) for C & C++
|
Macros | |
| #define | ecs_has(world, entity, T) |
| Test if an entity has a component. | |
| #define | ecs_has_pair(world, entity, first, second) |
| Test if an entity has a pair. | |
| #define | ecs_owns_pair(world, entity, first, second) |
| Test if an entity owns a pair. | |
| #define | ecs_owns(world, entity, T) |
| Test if an entity owns a component. | |
| #define | ecs_shares_id(world, entity, id) |
| Test if an entity shares a component. | |
| #define | ecs_shares_pair(world, entity, first, second) |
| Test if an entity shares a pair. | |
| #define | ecs_shares(world, entity, T) |
| Test if an entity shares a component. | |
| #define | ecs_get_target_for(world, entity, rel, T) |
| Get the target for a relationship. | |
| #define ecs_get_target_for | ( | world, | |
| entity, | |||
| rel, | |||
| T ) |
Get the target for a relationship.
| #define ecs_has | ( | world, | |
| entity, | |||
| T ) |
Test if an entity has a component.
| #define ecs_has_pair | ( | world, | |
| entity, | |||
| first, | |||
| second ) |
Test if an entity has a pair.
| #define ecs_owns | ( | world, | |
| entity, | |||
| T ) |
Test if an entity owns a component.
| #define ecs_owns_pair | ( | world, | |
| entity, | |||
| first, | |||
| second ) |
Test if an entity owns a pair.
| #define ecs_shares | ( | world, | |
| entity, | |||
| T ) |
Test if an entity shares a component.
| #define ecs_shares_id | ( | world, | |
| entity, | |||
| id ) |
Test if an entity shares a component.
| #define ecs_shares_pair | ( | world, | |
| entity, | |||
| first, | |||
| second ) |
Test if an entity shares a pair.