[static] CANVAS : number Source code:
addImage(key, url, data) → {object} Adds an Image file into the Cache. The file must have already
addBinary(key, binaryData) Add a binary object in to the cache. Parameters
getBitmapData(key) → {Phaser.BitmapData}
getFrameByIndex(key, index, cache) → {Phaser
getShader(key) → {string} Gets a fragment shader object from the cache. The object is looked-up
getText(key) → {object} Gets a Text object from the cache. The object is looked-up based
addTilemap(key, url, mapData, format) Add a new tilemap to the Cache. Parameters
removeText(key) Removes a text file from the cache. Note that this only removes it from the Phaser.Cache. If you still have references
destroy() Clears the cache. Removes every local cache object reference.If an object in the cache has a destroy method
Page 1 of 11