Class: abstract
Pipeline
Pipeline class that helps handling many processes at a time.
Extended by
Constructors
new Pipeline()
new Pipeline():
Pipeline
Returns
Defined in
core/src/pipeline/Pipeline.ts:30
Methods
frame()
abstract
frame(delta
):void
The frame method is the main method that is called by the pipeline. It should implement the desired behavior of the pipeline.
Parameters
• delta: number
Returns
void
Defined in
core/src/pipeline/Pipeline.ts:40
start()
abstract
start():void
Start the pipeline
Returns
void
Defined in
core/src/pipeline/Pipeline.ts:45
stop()
abstract
stop():void
Stop the pipeline
Returns
void
Defined in
core/src/pipeline/Pipeline.ts:50
Properties
frameRate
frameRate:
number
The frame rate of the pipeline. This is the number of frames per second that the pipeline will run at. e.g. 30 will run the pipeline at 30 frames per second. The default value is 30.
Defined in
core/src/pipeline/Pipeline.ts:28
state
state:
PipelineState
The current state of the pipeline.