FLECS_API const ecs_entity_t * ecs_bulk_new_w_id(ecs_world_t *world, ecs_id_t id, int32_t count)
Create N new entities. This operation is the same as ecs_new_w_id, but creates N entities instead of one and does not recycle ids.
- The world.
- The component id to create the entities with.
- The number of entities to create.
- The first entity id of the newly created entities.
Line 1671 in include/flecs.h.