Class BatchedRenderer

the class represents the batch renderer. a three.js scene should only have one batchedRenderer It keeps references of all particle systems and rendering batch. It batches all particle systems that has the same rendering pipeline to a single VFXBatch.

Hierarchy

  • Object3D
    • BatchedRenderer

Constructors

Properties

batches: VFXBatch[] = []
depthTexture: Texture = null
systemToBatchIndex: Map<IParticleSystem, number> = ...
type: string = 'BatchedRenderer'

Methods

  • Parameters

    • depthTexture: Texture

    Returns void

  • Parameters

    • delta: number

    Returns void