Cache#destroy()

destroy() Clears the cache. Removes every local cache object reference.If an object in the cache has a destroy method it will also be called. Source code: loader/Cache.js (Line 1947)

Cache#decodedSound()

decodedSound(key, data) Add a new decoded sound. Parameters Name Type Description key string The key of the asset within the cache. data object Extra sound data. Source code: loader/Cache.js (Line 726)

Cache#checkXMLKey()

checkXMLKey(key) → {boolean} Checks if the given key exists in the XML Cache. Parameters Name Type Description key string The key of the asset within the cache. Returns boolean - True if the key exists in the cache, otherwise false. Source code: loader/Cache.js (Line 967)

Cache#checkVideoKey()

checkVideoKey(key) → {boolean} Checks if the given key exists in the Video Cache. Parameters Name Type Description key string The key of the asset within the cache. Returns boolean - True if the key exists in the cache, otherwise false. Source code: loader/Cache.js (Line 980)

Cache#checkURL()

checkURL(url) → {boolean} Checks if the given URL has been loaded into the Cache.This method will only work if Cache.autoResolveURL was set to true before any preloading took place.The method will make a DOM src call to the URL given, so please be aware of this for certain file types, such as Sound files on Firefoxwhich may cause double-load instances. Parameters Name Type Description url string The url to check for in the cache. Returns boolean - True if the url exists, otherwise fa

Cache#checkTilemapKey()

checkTilemapKey(key) → {boolean} Checks if the given key exists in the Tilemap Cache. Parameters Name Type Description key string The key of the asset within the cache. Returns boolean - True if the key exists in the cache, otherwise false. Source code: loader/Cache.js (Line 902)

Cache#checkTextureKey()

checkTextureKey(key) → {boolean} Checks if the given key exists in the Texture Cache. Parameters Name Type Description key string The key of the asset within the cache. Returns boolean - True if the key exists in the cache, otherwise false. Source code: loader/Cache.js (Line 850)

Cache#checkTextKey()

checkTextKey(key) → {boolean} Checks if the given key exists in the Text Cache. Parameters Name Type Description key string The key of the asset within the cache. Returns boolean - True if the key exists in the cache, otherwise false. Source code: loader/Cache.js (Line 876)

Cache#checkSoundKey()

checkSoundKey(key) → {boolean} Checks if the given key exists in the Sound Cache. Parameters Name Type Description key string The key of the asset within the cache. Returns boolean - True if the key exists in the cache, otherwise false. Source code: loader/Cache.js (Line 863)

Cache#checkShaderKey()

checkShaderKey(key) → {boolean} Checks if the given key exists in the Fragment Shader Cache. Parameters Name Type Description key string The key of the asset within the cache. Returns boolean - True if the key exists in the cache, otherwise false. Source code: loader/Cache.js (Line 993)