13 template <
typename ... Components>
14 using pipeline_builder_base = builder<
16 pipeline_builder_i, Components ...>;
23template <
typename ... Components>
27 : _::pipeline_builder_base<Components...>(
world)
30 this->desc_.entity =
id;
35 : _::pipeline_builder_base<Components...>(
world)
38 if (name !=
nullptr) {
40 entity_desc.
name = name;
41 entity_desc.
sep =
"::";
struct ecs_pipeline_desc_t ecs_pipeline_desc_t
Pipeline descriptor, used with ecs_pipeline_init().
ecs_entity_t entity_t
Entity type.
ecs_world_t world_t
World type.
ecs_entity_t ecs_entity_init(ecs_world_t *world, const ecs_entity_desc_t *desc)
Find or create an entity.
Pipeline builder interface.
Used with ecs_entity_init().
const char * sep
Optional custom separator for hierarchical names.
const char * root_sep
Optional, used for identifiers relative to the root.
const char * name
Name of the entity.
Class that wraps around a flecs::id_t.
pipeline_builder(flecs::world_t *world, const char *name)
Construct a named pipeline builder.
pipeline_builder(flecs::world_t *world, flecs::entity_t id=0)
Construct a pipeline builder.