Function ecs_filter_iter

Synopsis

#include <include/flecs.h>

FLECS_API ecs_iter_t ecs_filter_iter(const ecs_world_t *world, const ecs_filter_t *filter)

Description

Return a filter iterator. A filter iterator lets an application iterate over entities that match the specified filter. If NULL is provided for the filter, the iterator will iterate all tables in the world.

Parameters

world - The world.

filter - The filter.

Returns
An iterator that can be used with ecs_filter_next.

Mentioned in

Source

Line 2555 in include/flecs.h.