ecs_table_add_id

Function ecs_table_add_id 

Source
pub unsafe extern "C" fn ecs_table_add_id(
    world: *mut ecs_world_t,
    table: *mut ecs_table_t,
    id: ecs_id_t,
) -> *mut ecs_table_t
Expand 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.

@param world The world. @param table The table. @param id The id to add. @result The resulting table.