13 template <
typename ... Components>
14 using filter_builder_base = builder<
16 filter_builder_i, Components ...>;
23template <
typename ... Components>
29 if (name !=
nullptr) {
31 entity_desc.
name = name;
32 entity_desc.
sep =
"::";
38 template <
typename Func>
39 void each(Func&& func) {
40 this->build().each(FLECS_FWD(func));
Filter builder interface.
ecs_entity_t ecs_entity_init(ecs_world_t *world, const ecs_entity_desc_t *desc)
Find or create an entity.
struct ecs_filter_desc_t ecs_filter_desc_t
Used with ecs_filter_init().
Used with ecs_entity_init().
const char * sep
Optional custom separator for hierarchical names.
const char * root_sep
Optional, used for identifiers relative to root.
const char * name
Name of the entity.