Struct pipeline

Synopsis

#include <include/flecs/addons/cpp/mixins/pipeline/impl.hpp>

template <typename ... Components>
struct pipeline : entity

Description

No description yet.

Methods

pipeline

Source

Lines 7-22 in include/flecs/addons/cpp/mixins/pipeline/impl.hpp.

template <typename ... Components>
struct pipeline : entity {
    pipeline(world_t *world, ecs_pipeline_desc_t *desc) 
        : entity(world)
    {
        m_id = ecs_pipeline_init(world, desc);

        if (!m_id) {
            ecs_abort(ECS_INVALID_PARAMETER, NULL);
        }

        if (desc->query.filter.terms_buffer) {
            ecs_os_free(desc->query.filter.terms_buffer);
        }
    }
};