Function ecs_table_add_id

Synopsis

#include <include/flecs.h>

FLECS_API ecs_table_t * ecs_table_add_id(ecs_world_t *world, ecs_table_t *table, ecs_id_t id)

Description

Get table that has all components of current table plus the specified id. If the provided table already has the provided id, the operation will return the provided table.

Parameters

world - The world.

table - The table.

id - The id to add.

Returns
The resulting table.

Source

Line 3395 in include/flecs.h.