Rendering Pipelines
ProgressiveGPass
Base abstract class for all passes that need to converge/accumulate over more than one frame.
Accessors
accumulationFrames
Gets or sets the total number of frames the pass needs to converge/accumulate in.
Returns: number
frameIndex
Gets or sets the frame index in the current convergence/accumulation cycle.
Returns: number
Methods
render
Implementation for the base class abstract render
which automatically returns true
while frameIndex < accumulationFrames
, and false
otherwise.
Parameters:
- renderer: The hosting
WebGLRenderer
- optional camera: The rendering camera.
- optional scene: The scene to render.
Returns: boolean