Interface: ILoaderPlugin

ILoaderPlugin

Plugin to be installed for handling specific Loader resources.

Properties:
Name Type Attributes Description
add <optional>

Function to call immediate after registering plugin.

pre <optional>

Middleware function to run before load, the arguments for this are (resource, next)

use <optional>

Middleware function to run after load, the arguments for this are (resource, next)

Members

add

Function to call immediate after registering plugin.

pre

Middleware function to run before load, the arguments for this are (resource, next)

use

Middleware function to run after load, the arguments for this are (resource, next)

Methods

add () void

Function to call immediate after registering plugin.

pre (resource, next) void

Middleware function to run before load

Name Type Attributes Description
resource PIXI.LoaderResource

resource

next (...args: any[]) => void <optional>

next middleware

use (resource, next) void

Middleware function to run after load

Name Type Attributes Description
resource PIXI.LoaderResource

resource

next (...args: any[]) => void <optional>

next middleware