Flecs v4.0
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Collaboration diagram for Id API:

Macros

#define ecs_count(world, type)
 

Detailed Description

Macro Definition Documentation

◆ ecs_count

#define ecs_count ( world,
type )
Value:
ecs_count_id(world, ecs_id(type))
FLECS_API const ecs_entity_t ecs_id(EcsDocDescription)
Component id for EcsDocDescription.
int32_t ecs_count_id(const ecs_world_t *world, ecs_id_t entity)
Count entities that have the specified id.

Definition at line 677 of file flecs_c.h.