Used with ecs_filter_init.
More...
#include <flecs.h>
Used with ecs_filter_init.
Definition at line 961 of file flecs.h.
◆ _canary
int32_t ecs_filter_desc_t::_canary |
◆ entity
Entity associated with query (optional)
Definition at line 991 of file flecs.h.
◆ expr
const char* ecs_filter_desc_t::expr |
Filter expression.
Should not be set at the same time as terms array
Definition at line 988 of file flecs.h.
◆ flags
ecs_flags32_t ecs_filter_desc_t::flags |
Flags for advanced usage.
Definition at line 985 of file flecs.h.
◆ instanced
bool ecs_filter_desc_t::instanced |
When true, terms returned by an iterator may either contain 1 or N elements, where terms with N elements are owned, and terms with 1 element are shared, for example from a parent or base entity.
When false, the iterator will at most return 1 element when the result contains both owned and shared terms.
Definition at line 982 of file flecs.h.
◆ storage
External storage to prevent allocation of the filter object.
Definition at line 975 of file flecs.h.
◆ terms
Terms of the filter.
If a filter has more terms than FLECS_TERM_DESC_MAX use terms_buffer
Definition at line 966 of file flecs.h.
◆ terms_buffer
For filters with lots of terms an outside array can be provided.
Definition at line 969 of file flecs.h.
◆ terms_buffer_count
int32_t ecs_filter_desc_t::terms_buffer_count |
Number of terms in array provided in terms_buffer.
Definition at line 972 of file flecs.h.
The documentation for this struct was generated from the following file: