Function ecs_table_from_str
Synopsis
#include <include/flecs.h>
FLECS_API ecs_table_t * ecs_table_from_str(ecs_world_t *world, const char *type)
Description
Find or create table with specified component string. The provided string must be a comma-separated list of fully qualified component identifiers. The returned table will have the specified components. Two lists that are the same but specify components in a different order will return the same table.
- Parameters
world
- The world.type
- The components.- Returns
- The new or existing table, or NULL if the string contains an error.
Source
Line 2862 in include/flecs.h.