Function ecs_field_size

Synopsis

#include <include/flecs.h>

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

Description

Return field type size. Return type size of the data returned by field. Returns 0 if field has no data.

Parameters

it - The iterator.

index - The index of the field in the iterator.

Returns
The type size for the field.

Source

Line 4030 in include/flecs.h.