Function ecs_table_from_type

Synopsis

#include <include/flecs.h>

FLECS_API ecs_table_t * ecs_table_from_type(ecs_world_t *world, ecs_type_t type)

Description

Find or create table from type. Same as ecs_table_from_str, but provides the type directly.

Parameters

world - The world.

type - The type.

Returns
The new or existing table.

Source

Line 2874 in include/flecs.h.