Function ecs_table_count

Synopsis

#include <include/flecs.h>

FLECS_API int32_t ecs_table_count(const ecs_table_t *table)

Description

Returns the number of records in the table. This operation returns the number of records that have been populated through the regular (entity) API as well as the number of records that have been inserted using the direct access API.

Parameters

table - The table.

Returns
The number of records in a table.

Source

Line 4607 in include/flecs.h.