Struct ecs_filter_t

Synopsis

#include <include/flecs.h>

typedef struct ecs_filter_t

Description

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

Mentioned in

Source

Lines 102-107 in include/flecs.h.

typedef struct ecs_filter_t {
    ecs_type_t include;             /**< Components that should match */
    ecs_type_t exclude;             /**< Components that should not match */
    ecs_match_kind_t include_kind;  /**< Match kind for include components */
    ecs_match_kind_t exclude_kind;  /**< Match kind for exclude components */
} ecs_filter_t;