Options
All
  • Public
  • Public/Protected
  • All
Menu
classdesc

Creates a DuckEngine RendererPipeline

description

The RendererPipeline Class. Manages all visible scenes and renderables by pooling them on an interval for GC efficiency

since

2.1.0

Hierarchy

  • RendererPipeline

Index

Constructors

constructor

Properties

game

game: Game
memberof

RendererPipeline

description

Game instance

since

2.1.0

poolInterval

poolInterval: unknown
memberof

RendererPipeline

description

The interval that calls RendererPipeline.pool, time: 1000 / this.game.fps

since

2.1.0

poolStack

poolStack: PoolStackItem[]
memberof

RendererPipeline

description

The poolStack, contains objects that holds a scene and its renderables

since

2.1.0

Protected updateTimeInterval

updateTimeInterval: unknown
memberof

RendererPipeline

description

The interval that calls RendererPipeline.updateTime, time: 1000, updates the time that the poolInterval is called for better results

since

2.1.0

Methods

pool

  • pool(): void

updateTime

  • updateTime(): void

Generated using TypeDoc