Skip to content

@fibbojs / core / PipelineManager

Class: PipelineManager

The pipeline manager is responsible for managing different pipelines in a scene. It handles the execution of standard, throttled, and interval pipelines. It also manages the auto loop feature, which allows pipelines to be executed automatically at a specified frame rate. A pipeline manager is created automatically when a scene is created.

Constructors

new PipelineManager()

new PipelineManager(options): PipelineManager

Parameters

options: PipelineManagerOptions

Returns

PipelineManager

Defined in

core/src/pipeline/PipelineManager.ts:40

Methods

addIntervalPipeline()

addIntervalPipeline(pipeline): void

Add an interval pipeline.

Parameters

pipeline: IntervalPipeline

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:182


addStandardPipeline()

addStandardPipeline(pipeline): void

Add a standard pipeline.

Parameters

pipeline: StandardPipeline

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:142


addThrottledPipeline()

addThrottledPipeline(pipeline): void

Add a throttled pipeline.

Parameters

pipeline: ThrottledPipeline

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:162


removeIntervalPipeline()

removeIntervalPipeline(pipeline): void

Remove an interval pipeline.

Parameters

pipeline: IntervalPipeline

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:191


removeStandardPipeline()

removeStandardPipeline(pipeline): void

Remove a standard pipeline.

Parameters

pipeline: StandardPipeline

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:151


removeThrottledPipeline()

removeThrottledPipeline(pipeline): void

Remove a throttled pipeline.

Parameters

pipeline: ThrottledPipeline

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:171


start()

start(): void

Start all pipelines.

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:124


stop()

stop(): void

Stop all pipelines.

Returns

void

Defined in

core/src/pipeline/PipelineManager.ts:133

Properties

__ANIMATION_FRAME_REQUEST_ID__

__ANIMATION_FRAME_REQUEST_ID__: number

Animation frame request ID

Defined in

core/src/pipeline/PipelineManager.ts:33


autoLoop

autoLoop: boolean

Auto loop flag.

Defined in

core/src/pipeline/PipelineManager.ts:38


intervalPipelines

intervalPipelines: IntervalPipeline[]

Defined in

core/src/pipeline/PipelineManager.ts:28


scene

scene: FScene

The scene associated with the pipeline manager.

Defined in

core/src/pipeline/PipelineManager.ts:23


standardPipelines

standardPipelines: StandardPipeline[]

Defined in

core/src/pipeline/PipelineManager.ts:26


throttledPipelines

throttledPipelines: ThrottledPipeline[]

Defined in

core/src/pipeline/PipelineManager.ts:27