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

Cached query implementation. More...

Classes

struct  flecs::query_builder< Components >
 Query builder. More...
 
struct  flecs::query_builder_i< Base, Components >
 Query builder interface. More...
 
struct  flecs::query< Components >
 

Functions

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

Detailed Description

Cached query implementation.

Fast to iterate, but slower to create than flecs::filter.

Function Documentation

◆ query()

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

Create a query.

See also
ecs_query_init