8#include "../../utils/builder.hpp"
13 template <
typename ... Components>
14 using query_builder_base = builder<
16 query_builder_i, Components ...>;
23template <
typename ... Components>
29 if (name !=
nullptr) {
31 entity_desc.
name = name;
32 entity_desc.
sep =
"::";
ecs_entity_t ecs_entity_init(ecs_world_t *world, const ecs_entity_desc_t *desc)
Find or create an entity.
flecs::query_builder< Comps... > query_builder(Args &&... args) const
Create a query builder.
flecs::query< Comps... > query(flecs::query_base &parent, Args &&... args) const
Create a subquery.
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.
Used with ecs_query_init.