pixi.js
    Preparing search index...

    Class BatcherPipeAdvanced

    A pipe that batches elements into batches and sends them to the renderer.

    You can install new Batchers using ExtensionType.Batcher. Each render group will have a default batcher and any required ones will be created on demand.

    Implements

    Index

    Constructors

    Properties

    renderer: Renderer
    state: State = ...
    _availableBatchers: Record<string, new () => Batcher> = ...

    Methods

    • Forces the batch to break. This can happen if for example you need to render everything and then change the render target.

      Parameters

      • instructionSet: InstructionSet

        the instruction set currently being built

      Returns void

    • Returns void

    • this is where the actual instruction is executed - eg make the draw call activate a filter. Any instructions that have the same renderPipeId have their execute method called

      Parameters

      Returns void

    • called just before we execute the draw calls , this is where the pipes have an opportunity to upload data to the GPU. This is only called if data changes.

      Parameters

      • instructionSet: InstructionSet

        the instruction set currently being built

      Returns void

    • Parameters

      • name: string

      Returns Batcher