Function ecs_query_next
Synopsis
#include <include/flecs.h>
FLECS_API bool ecs_query_next(ecs_iter_t *iter)
Description
Progress the query iterator. This operation progresses the query iterator to the next table. The iterator must have been initialized with ecs_query_iter
. This operation must be invoked at least once before interpreting the contents of the iterator.
- Parameters
iter
- The iterator.- Returns
- True if more data is available, false if not.
Mentioned in
- Quickstart / Queries
- Manual / Queries
- Manual / Change tracking
- Manual / SHARED
- Manual / ANY
- Manual / PARENT
- Manual / CASCADE
- Manual / Entity
- Manual / Singleton
- Manual / Nothing
- Manual / Optional
- Manual / Sorting
Source
Line 2315 in include/flecs.h.