Used with ecs_filter_init().
More...
#include <flecs.h>
|
int32_t | _canary |
|
ecs_term_t | terms [(16)] |
| Terms of the filter.
|
|
ecs_term_t * | terms_buffer |
| For filters with lots of terms an outside array can be provided.
|
|
int32_t | terms_buffer_count |
| Number of terms in array provided in terms_buffer.
|
|
ecs_filter_t * | storage |
| External storage to prevent allocation of the filter object.
|
|
bool | 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.
|
|
ecs_flags32_t | flags |
| Flags for advanced usage.
|
|
const char * | expr |
| Filter expression.
|
|
ecs_entity_t | entity |
| Entity associated with query (optional)
|
|
Used with ecs_filter_init().
Definition at line 998 of file flecs.h.
◆ _canary
int32_t ecs_filter_desc_t::_canary |
◆ entity
Entity associated with query (optional)
Definition at line 1028 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 1025 of file flecs.h.
◆ flags
ecs_flags32_t ecs_filter_desc_t::flags |
Flags for advanced usage.
Definition at line 1022 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 1019 of file flecs.h.
◆ storage
External storage to prevent allocation of the filter object.
Definition at line 1012 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 1003 of file flecs.h.
◆ terms_buffer
For filters with lots of terms an outside array can be provided.
Definition at line 1006 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 1009 of file flecs.h.
The documentation for this struct was generated from the following file: