Queries are lists of constraints (terms) that match entities.
More...
#include <flecs.h>
Queries are lists of constraints (terms) that match entities.
Created with ecs_query_init().
Definition at line 785 of file flecs.h.
◆ binding_ctx
void* ecs_query_t::binding_ctx |
Context to be used for language bindings.
Definition at line 813 of file flecs.h.
◆ cache_kind
Caching policy of query.
Definition at line 808 of file flecs.h.
◆ ctx
User context to pass to callback.
Definition at line 812 of file flecs.h.
◆ data_fields
ecs_flags32_t ecs_query_t::data_fields |
Fields that have data.
Definition at line 801 of file flecs.h.
◆ entity
Entity associated with query (optional)
Definition at line 815 of file flecs.h.
◆ eval_count
int32_t ecs_query_t::eval_count |
Number of times query is evaluated.
Definition at line 819 of file flecs.h.
◆ field_count
int8_t ecs_query_t::field_count |
Number of fields returned by query.
Definition at line 795 of file flecs.h.
◆ fixed_fields
ecs_flags32_t ecs_query_t::fixed_fields |
Fields with a fixed source.
Definition at line 798 of file flecs.h.
◆ flags
ecs_flags32_t ecs_query_t::flags |
Query flags.
Definition at line 792 of file flecs.h.
◆ hdr
Object header.
Definition at line 786 of file flecs.h.
◆ ids
Component ids.
Indexed by field
Definition at line 790 of file flecs.h.
◆ read_fields
ecs_flags32_t ecs_query_t::read_fields |
Fields that read data.
Definition at line 803 of file flecs.h.
◆ real_world
Actual world.
Definition at line 816 of file flecs.h.
◆ row_fields
ecs_flags32_t ecs_query_t::row_fields |
Fields that must be acquired with field_at.
Definition at line 804 of file flecs.h.
◆ set_fields
ecs_flags32_t ecs_query_t::set_fields |
Fields that will be set.
Definition at line 806 of file flecs.h.
◆ shared_readonly_fields
ecs_flags32_t ecs_query_t::shared_readonly_fields |
Fields that don't write shared data.
Definition at line 805 of file flecs.h.
◆ sizes
int32_t ecs_query_t::sizes[32] |
Component sizes.
Indexed by field
Definition at line 789 of file flecs.h.
◆ static_id_fields
ecs_flags32_t ecs_query_t::static_id_fields |
Fields with a static (component) id.
Definition at line 800 of file flecs.h.
◆ term_count
int8_t ecs_query_t::term_count |
Number of query terms.
Definition at line 794 of file flecs.h.
◆ terms
Query terms.
Definition at line 788 of file flecs.h.
◆ var_count
int8_t ecs_query_t::var_count |
Number of query variables.
Definition at line 793 of file flecs.h.
◆ var_fields
ecs_flags32_t ecs_query_t::var_fields |
Fields with non-$this variable source.
Definition at line 799 of file flecs.h.
◆ vars
Array with variable names for iterator.
Definition at line 810 of file flecs.h.
◆ world
World or stage query was created with.
Definition at line 817 of file flecs.h.
◆ write_fields
ecs_flags32_t ecs_query_t::write_fields |
Fields that write data.
Definition at line 802 of file flecs.h.
The documentation for this struct was generated from the following file: