pixi.js
    Preparing search index...

    Interface BatchPipeAdvanced

    An interface for a pipe that can be used to build instructions for the renderer. BatchPipes are specifically used to build and render Batches.

    interface BatchPipe {
        addToBatch: (
            renderable: BatchableElement,
            instructionSet: InstructionSet,
        ) => void;
        break: (instructionSet: InstructionSet) => void;
    }

    Implemented by

    Index

    Properties

    Properties

    addToBatch: (
        renderable: BatchableElement,
        instructionSet: InstructionSet,
    ) => void

    Add a add a batchable object to the batch.

    Type declaration

    break: (instructionSet: InstructionSet) => void

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

    Type declaration