Function ecs_count_filter

Synopsis

#include <include/flecs.h>

FLECS_API int32_t ecs_count_filter(const ecs_world_t *world, const ecs_filter_t *filter)

Description

Count entities that match a filter. Returns the number of entities that match the specified filter.

Parameters

world - The world.

type - The type.

Returns
The number of entities that match the specified filter.

Source

Line 1781 in include/flecs.h.