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

Macros

#define ecs_new_w(world, T)   ecs_new_w_id(world, ecs_id(T))
 
#define ecs_new_w_pair(world, first, second)    ecs_new_w_id(world, ecs_pair(first, second))
 
#define ecs_bulk_new(world, component, count)    ecs_bulk_new_w_id(world, ecs_id(component), count)
 

Detailed Description

Macro Definition Documentation

◆ ecs_bulk_new

#define ecs_bulk_new ( world,
component,
count )    ecs_bulk_new_w_id(world, ecs_id(component), count)

Definition at line 320 of file flecs_c.h.

◆ ecs_new_w

#define ecs_new_w ( world,
T )   ecs_new_w_id(world, ecs_id(T))

Definition at line 315 of file flecs_c.h.

◆ ecs_new_w_pair

#define ecs_new_w_pair ( world,
first,
second )    ecs_new_w_id(world, ecs_pair(first, second))

Definition at line 317 of file flecs_c.h.