new PIXI.loaders.Loader(baseUrl, concurrency)
Name | Type | Default | Description |
---|---|---|---|
baseUrl |
string | '' |
optional
The base url for all resources loaded by this loader. |
concurrency |
number | 10 |
optional
The number of resources to load concurrently. |
Extends
- module:resource-loader.ResourceLoader
Methods
-
staticPIXI.loaders.Loader.addPixiMiddleware(fn)
-
Adds a default middleware to the pixi loader.
Name Type Description fn
function The middleware to add.