Flecs v3.2
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_filter_t Struct Reference

Filters allow for ad-hoc quick filtering of entity tables. More...

#include <flecs.h>

Public Attributes

ecs_header_t hdr
 
int8_t term_count
 Number of elements in terms array.
 
int8_t field_count
 Number of fields in iterator for filter.
 
ecs_flags32_t flags
 Filter flags.
 
ecs_flags64_t data_fields
 Bitset with fields that have data.
 
ecs_term_tterms
 Array containing terms for filter.
 
char * variable_names [1]
 Placeholder variable names array.
 
int32_t * sizes
 Field size (same for each result)
 
ecs_id_tids
 Array with field ids.
 
ecs_entity_t entity
 Entity associated with filter (optional)
 
ecs_iterable_t iterable
 Iterable mixin.
 
ecs_poly_dtor_t dtor
 Dtor mixin.
 
ecs_world_tworld
 World mixin.
 

Detailed Description

Filters allow for ad-hoc quick filtering of entity tables.

Definition at line 773 of file flecs.h.

Member Data Documentation

◆ data_fields

ecs_flags64_t ecs_filter_t::data_fields

Bitset with fields that have data.

Definition at line 779 of file flecs.h.

◆ dtor

ecs_poly_dtor_t ecs_filter_t::dtor

Dtor mixin.

Definition at line 789 of file flecs.h.

◆ entity

ecs_entity_t ecs_filter_t::entity

Entity associated with filter (optional)

Definition at line 787 of file flecs.h.

◆ field_count

int8_t ecs_filter_t::field_count

Number of fields in iterator for filter.

Definition at line 777 of file flecs.h.

◆ flags

ecs_flags32_t ecs_filter_t::flags

Filter flags.

Definition at line 778 of file flecs.h.

◆ hdr

ecs_header_t ecs_filter_t::hdr

Definition at line 774 of file flecs.h.

◆ ids

ecs_id_t* ecs_filter_t::ids

Array with field ids.

Definition at line 784 of file flecs.h.

◆ iterable

ecs_iterable_t ecs_filter_t::iterable

Iterable mixin.

Definition at line 788 of file flecs.h.

◆ sizes

int32_t* ecs_filter_t::sizes

Field size (same for each result)

Definition at line 783 of file flecs.h.

◆ term_count

int8_t ecs_filter_t::term_count

Number of elements in terms array.

Definition at line 776 of file flecs.h.

◆ terms

ecs_term_t* ecs_filter_t::terms

Array containing terms for filter.

Definition at line 781 of file flecs.h.

◆ variable_names

char* ecs_filter_t::variable_names[1]

Placeholder variable names array.

Definition at line 782 of file flecs.h.

◆ world

ecs_world_t* ecs_filter_t::world

World mixin.

Definition at line 790 of file flecs.h.


The documentation for this struct was generated from the following file: