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

Method set

packages/melonjs/src/video/texture/cache.js:151–153  ·  view source on GitHub ↗

* @ignore * cache the textureAltas for the given image

(image, textureAtlas)

Source from the content-addressed store, hash-verified

149 * cache the textureAltas for the given image
150 */
151 set(image, textureAtlas) {
152 return this.cache.put(image, textureAtlas);
153 }
154
155 /**
156 * @ignore

Callers 15

getMethod · 0.95
saveMethod · 0.45
restoreMethod · 0.45
_growStacksMethod · 0.45
drawLightMethod · 0.45
getImageDataMethod · 0.45
getUnitMethod · 0.45
tintMethod · 0.45
constructorMethod · 0.45
addBatcherMethod · 0.45
uploadNormalMapMethod · 0.45
addQuadMethod · 0.45

Calls 1

putMethod · 0.80

Tested by

no test coverage detected