Pipeline module

Functions

ecs_deactivate_systemsDeactivate systems that are not matched with tables
ecs_get_pipelineGet the current pipeline
ecs_progressProgress a world
ecs_reset_clockReset world clock
ecs_run_pipelineRun pipeline
ecs_set_pipelineSet a custom pipeline
ecs_set_threadsSet number of worker threads
ecs_set_time_scaleSet time scale
FlecsPipelineImport

Defines

Defines (pipeline.h)

FLECS_SYSTEM

FLECS_OS_API_IMPL

FLECS_PIPELINE_H

ECS_PIPELINE_DEFINE(world,id,...)
id = ecs_type_init(world, &(ecs_type_desc_t){
.entity = {
.name = #id,
.add = {EcsPipeline}
},
.ids_expr = #__VA_ARGS__
});
ecs_id(id) = id;

ECS_PIPELINE(world,id,...)
ecs_entity_t ecs_id(id), ECS_PIPELINE_DEFINE(world, id, __VA_ARGS__);
(void)id;
(void)ecs_id(id)

Mentioned in: