Flecs: include/flecs/addons/cpp/mixins/pipeline/builder_i.hpp Source File
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.1 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
builder_i.hpp
Go to the documentation of this file.
1
5
6#pragma once
7
8#include "../query/builder_i.hpp"
9
10namespace flecs {
11
16template<typename Base>
17 struct pipeline_builder_i : query_builder_i<Base> {
19 pipeline_builder_i(ecs_pipeline_desc_t *desc, int32_t term_index = 0)
20 : query_builder_i<Base>(&desc->query, term_index)
21 , desc_(desc) { }
22
23private:
24 ecs_pipeline_desc_t *desc_;
25};
26
27}
builder_i.hpp
Query builder interface.
ecs_pipeline_desc_t
Pipeline descriptor, used with ecs_pipeline_init().
Definition pipeline.h:88
flecs::pipeline_builder_i::pipeline_builder_i
pipeline_builder_i(ecs_pipeline_desc_t *desc, int32_t term_index=0)
Construct from a pipeline descriptor.
Definition builder_i.hpp:19
flecs::query_builder_i< Base >::query_builder_i
query_builder_i(ecs_query_desc_t *desc, int32_t term_index=0)
Definition builder_i.hpp:20
flecs::query
Typed query.
Definition impl.hpp:262
flecs::term_builder_i::desc
Base & desc()
Use with cascade() to iterate results in descending (bottom-to-top) order.
Definition builder_i.hpp:264