Function ecs_query_iter_page
Synopsis
#include <include/flecs.h>
FLECS_API ecs_iter_t ecs_query_iter_page(ecs_query_t *query, int32_t offset, int32_t limit)
Description
Iterate over a query. This operation is similar to ecs_query_iter, but starts iterating from a specified offset, and will not iterate more than limit entities.
- Parameters
query
- The query to iterate.offset
- The number of entities to skip.limit
- The maximum number of entities to iterate.- Returns
- The query iterator.
Source
Line 2300 in include/flecs.h.