• Internal method to handle extensions by name.

    Parameters

    • type: ExtensionType

      The extension type.

    • onAdd: ExtensionHandler

      Function for handling when extensions are added/registered passes PIXI.ExtensionFormat.

    • onRemove: ExtensionHandler

      Function for handling when extensions are removed/unregistered passes PIXI.ExtensionFormat.

    Returns any

    For chaining.

Generated using TypeDoc