Optionalbasea base path for any assets loaded
Optionalbundleadvanced - override how bundlesIds are generated
Optionaldefaulta default URL parameter string to append to all assets loaded
Optionalmanifesta 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.
OptionalpreferencesOptional loader preferences
OptionalskipIf true, don't attempt to detect whether browser has preferred formats available. May result in increased performance as it skips detection step.
Optionaltextureoptional 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
Optionalformat?: ArrayOr<string>the formats you prefer, by default this will be: ['avif', 'webp', 'png', 'jpg', 'jpeg', 'webm', 'mp4', 'm4v', 'ogv']
Optionalresolution?: number | number[]the resolution order you prefer, can be an array (priority order - first is prefered) or a single resolutions
Initialization options object for Asset Class.
Memberof
PIXI