Function ecs_term_is_readonly
Synopsis
#include <include/flecs.h>
FLECS_API bool ecs_term_is_readonly(const ecs_iter_t *it, int32_t index)
Description
Test whether the term is readonly This operation returns whether this is a readonly term. Readonly terms are annotated with [in], or are added as a const type in the C++ API.
- Parameters
it
- The iterator.index
- The index of the term in the query.- Returns
- Whether the term is readonly.
Source
Line 2525 in include/flecs.h.