Function ecs_query_next_w_filter

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_query_next_w_filter(ecs_iter_t *iter, const ecs_filter_t *filter)

Description

Progress the query iterator with filter. This operation is the same as ecs_query_next, but accepts a filter as an argument. Entities not matching the filter will be skipped by the iterator.

Parameters

iter - The iterator.

filter - The filter to apply to the iterator.

Returns
True if more data is available, false if not.

Mentioned in

Source

Line 2327 in include/flecs.h.