pixi.js
    Preparing search index...

    Class InstructionSetAdvanced

    A set of instructions that can be executed by the renderer. Basically wraps an array, but with some extra properties that help the renderer to keep things nice and optimised.

    Note: InstructionSet.instructions contains all the instructions, but does not resize (for performance). So for the true length of the instructions you need to use InstructionSet.instructionSize

    Index

    Constructors

    Properties

    gcTick: number = 0

    used by the garbage collector to track when the instruction set was last used

    instructions: Instruction[] = []

    the array of instructions

    instructionSize: number = 0

    the actual size of the array (any instructions passed this should be ignored)

    renderables: Renderable[] = []
    renderPipes: any

    allows for access to the render pipes of the renderer

    uid: number = ...

    a unique id for this instruction set used through the renderer

    Methods

    • Add an instruction to the set

      Parameters

      Returns void

    • reset the instruction set so it can be reused set size back to 0

      Returns void