Flecs v4.0
A fast entity component system (ECS) for C & C++
|
Macros | |
#define | ecs_singleton_add(world, comp) ecs_add(world, ecs_id(comp), comp) |
#define | ecs_singleton_remove(world, comp) ecs_remove(world, ecs_id(comp), comp) |
#define | ecs_singleton_get(world, comp) ecs_get(world, ecs_id(comp), comp) |
#define | ecs_singleton_set_ptr(world, comp, ptr) ecs_set_ptr(world, ecs_id(comp), comp, ptr) |
#define | ecs_singleton_set(world, comp, ...) ecs_set(world, ecs_id(comp), comp, __VA_ARGS__) |
#define | ecs_singleton_ensure(world, comp) ecs_ensure(world, ecs_id(comp), comp) |
#define | ecs_singleton_modified(world, comp) ecs_modified(world, ecs_id(comp), comp) |
#define ecs_singleton_add | ( | world, | |
comp ) ecs_add(world, ecs_id(comp), comp) |
#define ecs_singleton_ensure | ( | world, | |
comp ) ecs_ensure(world, ecs_id(comp), comp) |
#define ecs_singleton_get | ( | world, | |
comp ) ecs_get(world, ecs_id(comp), comp) |
#define ecs_singleton_modified | ( | world, | |
comp ) ecs_modified(world, ecs_id(comp), comp) |
#define ecs_singleton_remove | ( | world, | |
comp ) ecs_remove(world, ecs_id(comp), comp) |
#define ecs_singleton_set | ( | world, | |
comp, | |||
... ) ecs_set(world, ecs_id(comp), comp, __VA_ARGS__) |