Interface: ILoaderPlugin

ILoaderPlugin

Plugin to be installed for handling specific Loader resources.

Properties:
Name Type Description
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)

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 Description
resource PIXI.LoaderResource

resource

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

next middleware

use (resource, next) void

Middleware function to run after load

Name Type Description
resource PIXI.LoaderResource

resource

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

next middleware