Class LoaderFactory

A factory object used to get or create a loader.

Methods

LoaderFactory(assetManager) constructor


Parameters
assetManager : AssetManager
get(type, url, args) method

Returns an existing instance of the loader if url is already in queue or creates new instance if not.

Parameters
type : stringurl : string | LoaderTypeargs : any
Returns
AssetLoader