checkTextKey(key) → {boolean} Checks if the given key exists in the Text Cache. Parameters
isSoundDecoded(key) → {boolean} Check if the given sound has finished decoding. Parameters
[static] TEXT : number Source code:
removeVideo(key) Removes a video from the cache. Note that this only removes it from the Phaser.Cache. If you still have references
addShader(key, url, data) Adds a Fragment Shader in to the Cache. The file must have already been loaded, typically via Phaser.Loader
checkURL(url) → {boolean} Checks if the given URL has been loaded into the Cache.This method
[static] BITMAPDATA : number Source code:
removeSound(key) Removes a sound from the cache. If any Phaser.Sound objects use the audio file in the cache that
updateFrameData(key, frameData, cache) Replaces a set of frameData with a new Phaser.FrameData object
new Cache(game) Phaser has one single cache in which it stores all assets. The cache is split up into sections, such as images
Page 4 of 11