Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Macros | |
#define | ecs_has(world, entity, T) ecs_has_id(world, entity, ecs_id(T)) |
#define | ecs_has_pair(world, entity, first, second) ecs_has_id(world, entity, ecs_pair(first, second)) |
#define | ecs_owns_pair(world, entity, first, second) ecs_owns_id(world, entity, ecs_pair(first, second)) |
#define | ecs_owns(world, entity, T) ecs_owns_id(world, entity, ecs_id(T)) |
#define | ecs_shares_id(world, entity, id) |
#define | ecs_shares_pair(world, entity, first, second) (ecs_shares_id(world, entity, ecs_pair(first, second))) |
#define | ecs_shares(world, entity, T) (ecs_shares_id(world, entity, ecs_id(T))) |
#define | ecs_get_target_for(world, entity, rel, T) ecs_get_target_for_id(world, entity, rel, ecs_id(T)) |
#define ecs_get_target_for | ( | world, | |
entity, | |||
rel, | |||
T ) ecs_get_target_for_id(world, entity, rel, ecs_id(T)) |
#define ecs_has | ( | world, | |
entity, | |||
T ) ecs_has_id(world, entity, ecs_id(T)) |
#define ecs_has_pair | ( | world, | |
entity, | |||
first, | |||
second ) ecs_has_id(world, entity, ecs_pair(first, second)) |
#define ecs_owns | ( | world, | |
entity, | |||
T ) ecs_owns_id(world, entity, ecs_id(T)) |
#define ecs_owns_pair | ( | world, | |
entity, | |||
first, | |||
second ) ecs_owns_id(world, entity, ecs_pair(first, second)) |
#define ecs_shares | ( | world, | |
entity, | |||
T ) (ecs_shares_id(world, entity, ecs_id(T))) |
#define ecs_shares_id | ( | world, | |
entity, | |||
id ) |