MCPcopy Create free account
hub / github.com/melonjs/melonJS / require

Method require

packages/spine-plugin/src/AssetManager.js:137–139  ·  view source on GitHub ↗

* Get a loaded asset by path. * @param {string} path - the asset path/name * @returns {*} the loaded asset (TextureAtlas, skeleton data, etc.)

(path)

Source from the content-addressed store, hash-verified

135 * @returns {*} the loaded asset (TextureAtlas, skeleton data, etc.)
136 */
137 require(path) {
138 return this.spineAssetManager.require(path);
139 }
140
141 /**
142 * Dispose all loaded assets and release GPU resources.

Callers 1

setSkeletonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected