Used with ecs_filter_init.
More...
#include <flecs.h>
Used with ecs_filter_init.
Definition at line 770 of file flecs.h.
◆ _canary
int32_t ecs_filter_desc_t::_canary |
◆ entity
Entity associated with query (optional)
Definition at line 800 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 797 of file flecs.h.
◆ flags
ecs_flags32_t ecs_filter_desc_t::flags |
Flags for advanced usage.
Definition at line 794 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 791 of file flecs.h.
◆ storage
External storage to prevent allocation of the filter object.
Definition at line 784 of file flecs.h.
◆ terms
Terms of the filter.
If a filter has more terms than ECS_TERM_DESC_CACHE_SIZE use terms_buffer
Definition at line 775 of file flecs.h.
◆ terms_buffer
For filters with lots of terms an outside array can be provided.
Definition at line 778 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 781 of file flecs.h.
The documentation for this struct was generated from the following file: