Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
Filters

Filters are are cheaper to create, but slower to iterate than flecs::query. More...

Classes

struct  flecs::filter< Components >
 
struct  flecs::filter_builder< Components >
 Filter builder. More...
 
struct  flecs::term_id_builder_i< Base >
 Term identifier builder. More...
 
struct  flecs::term
 Class that describes a term. More...
 

Functions

template<typename... Comps, typename... Args>
flecs::filter< Comps... > flecs::world::filter (Args &&... args) const
 Create a filter. More...
 
template<typename... Args>
flecs::term flecs::world::term (Args &&... args) const
 Create a term.
 

Detailed Description

Filters are are cheaper to create, but slower to iterate than flecs::query.

Function Documentation

◆ filter()

template<typename... Comps, typename... Args>
flecs::filter< Comps... > filter ( Args &&...  args) const

Create a filter.

See also
ecs_filter_init