Function ecs_term_size

Synopsis

#include <include/flecs.h>

FLECS_API size_t ecs_term_size(const ecs_iter_t *it, int32_t index)

Description

Obtain the size for a term. This operation retrieves the size of the datatype for the term.

Parameters

it - The iterator.

index - The index of the term in the query.

Returns
The size of the datatype associated with te term.

Source

Line 2512 in include/flecs.h.