Function ecs_get_storage_table

Synopsis

#include <include/flecs.h>

FLECS_API ecs_table_t * ecs_get_storage_table(const ecs_world_t *world, ecs_entity_t entity)

Description

Get the storage table of an entity. The storage table of an entity has a type that only contains components, and excludes tags/entities/pairs that have no data.

Parameters

world - The world.

entity - The entity.

Returns
The storage table of the entity, NULL if the entity has no components.

Source

Line 2280 in include/flecs.h.