Used with ecs_bulk_init.
More...
#include <flecs.h>
Used with ecs_bulk_init.
Definition at line 920 of file flecs.h.
◆ _canary
int32_t ecs_bulk_desc_t::_canary |
◆ count
int32_t ecs_bulk_desc_t::count |
Number of entities to create/populate.
Definition at line 928 of file flecs.h.
◆ data
void** ecs_bulk_desc_t::data |
Array with component data to insert.
Each element in the array must correspond with an element in the ids array. If an element in the ids array is a tag, the data array must contain a NULL. An element may be set to NULL for a component, in which case the component will not be set by the operation.
Definition at line 932 of file flecs.h.
◆ entities
Entities to bulk insert.
Entity ids provided by the application must be empty (cannot have components). If no entity ids are provided, the operation will create 'count' new entities.
Definition at line 923 of file flecs.h.
◆ ids
Ids to create the entities with.
Definition at line 930 of file flecs.h.
◆ table
Table to insert the entities into.
Should not be set at the same time as ids. When 'table' is set at the same time as 'data', the elements in the data array must correspond with the ids in the table's type.
Definition at line 939 of file flecs.h.
The documentation for this struct was generated from the following file: