Function ecs_field_is_writeonly

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_field_is_writeonly(const ecs_iter_t *it, int32_t index)

Description

Test whether the field is writeonly. This operation returns whether this is a writeonly field. Writeonly terms are annotated with [out].

Serializers are not required to serialize the values of a writeonly field.

Parameters

it - The iterator.

index - The index of the field in the iterator.

Returns
Whether the field is writeonly.

Source

Line 3983 in include/flecs.h.