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

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

#include <flecs.h>

Public Attributes

ecs_header_t hdr
 
ecs_term_tterms
 Array containing terms for filter. More...
 
int32_t term_count
 Number of elements in terms array. More...
 
int32_t field_count
 Number of fields in iterator for filter. More...
 
bool owned
 Is filter object owned by filter. More...
 
bool terms_owned
 Is terms array owned by filter. More...
 
ecs_flags32_t flags
 Filter flags. More...
 
char * variable_names [1]
 Placeholder variable names array. More...
 
int32_t * sizes
 Field size (same for each result) More...
 
ecs_entity_t entity
 Entity associated with filter (optional) More...
 
ecs_iterable_t iterable
 Iterable mixin. More...
 
ecs_poly_dtor_t dtor
 Dtor mixin. More...
 
ecs_world_tworld
 World mixin. More...
 

Detailed Description

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

Definition at line 624 of file flecs.h.

Member Data Documentation

◆ dtor

ecs_poly_dtor_t ecs_filter_t::dtor

Dtor mixin.

Definition at line 642 of file flecs.h.

◆ entity

ecs_entity_t ecs_filter_t::entity

Entity associated with filter (optional)

Definition at line 640 of file flecs.h.

◆ field_count

int32_t ecs_filter_t::field_count

Number of fields in iterator for filter.

Definition at line 629 of file flecs.h.

◆ flags

ecs_flags32_t ecs_filter_t::flags

Filter flags.

Definition at line 634 of file flecs.h.

◆ hdr

ecs_header_t ecs_filter_t::hdr

Definition at line 625 of file flecs.h.

◆ iterable

ecs_iterable_t ecs_filter_t::iterable

Iterable mixin.

Definition at line 641 of file flecs.h.

◆ owned

bool ecs_filter_t::owned

Is filter object owned by filter.

Definition at line 631 of file flecs.h.

◆ sizes

int32_t* ecs_filter_t::sizes

Field size (same for each result)

Definition at line 637 of file flecs.h.

◆ term_count

int32_t ecs_filter_t::term_count

Number of elements in terms array.

Definition at line 628 of file flecs.h.

◆ terms

ecs_term_t* ecs_filter_t::terms

Array containing terms for filter.

Definition at line 627 of file flecs.h.

◆ terms_owned

bool ecs_filter_t::terms_owned

Is terms array owned by filter.

Definition at line 632 of file flecs.h.

◆ variable_names

char* ecs_filter_t::variable_names[1]

Placeholder variable names array.

Definition at line 636 of file flecs.h.

◆ world

ecs_world_t* ecs_filter_t::world

World mixin.

Definition at line 643 of file flecs.h.


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