BaseGPass -> ProgressiveGPass

Accessors

accumulationFrames

get accumulationFrames(): number
set accumulationFrames(value: number)

Gets or sets the total number of frames the pass needs to converge/accumulate in.

Returns: number

frameIndex

get frameIndex(): number
set frameIndex(value: number)

Gets or sets the frame index in the current convergence/accumulation cycle.

Returns: number

Methods

render

render(
  renderer: WebGLRenderer,
  camera?: PerspectiveCamera | OrthographicCamera | null,
  scene?: Scene
): boolean

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