# ProgressiveGPass

BaseGPass -> ProgressiveGPass

Base abstract class for all passes that need to converge/accumulate over more than one frame.

#

Accessors

accumulationFrames frameIndex

#

Methods

render

#

Accessors

# accumulationFrames

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

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) 
1
2

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
1
2
3
4
5

Implementation for the base class abstract render which automatically returns true while frameIndex < accumulationFrames, and false otherwise

Parameters

Returns: boolean

Last Updated: 11/18/2024, 11:56:02 AM