Properties:
Name | Type | Description |
---|---|---|
basePath |
string |
a base path for any assets loaded |
loader |
{ parsers? : LoaderParser[] } |
loader options to configure the loader with, currently only parsers! |
manifest |
string | ResolverManifest |
a manifest to tell the asset loader upfront what all your assets are this can be the manifest object itself, or a URL to the manifest. |
resolver |
{ urlParsers? : PIXI.ResolveURLParser[], preferOrders? : PIXI.PreferOrder[] } |
resolver specific options |
texturePreference |
{ resolution? : number | number[], format? : string | string[] } |
optional preferences for which textures preferences you have when resolving assets for example you might set the resolution to 0.5 if the user is on a rubbish old phone or you might set the resolution to 2 if the user is on a retina display |
Members
a base path for any assets loaded
loader { parsers? : LoaderParser[] }
loader options to configure the loader with, currently only parsers!
a manifest to tell the asset loader upfront what all your assets are this can be the manifest object itself, or a URL to the manifest.
resolver { urlParsers? : PIXI.ResolveURLParser[], preferOrders? : PIXI.PreferOrder[] }
resolver specific options
optional preferences for which textures preferences you have when resolving assets for example you might set the resolution to 0.5 if the user is on a rubbish old phone or you might set the resolution to 2 if the user is on a retina display