Cache#removeRenderTexture()

removeRenderTexture(key) Removes a Render Texture from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1852)

Cache#removePhysics()

removePhysics(key) Removes a physics data file from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1717)

Cache#removeJSON()

removeJSON(key) Removes a json object from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1792)

Cache#removeImage()

removeImage(key, destroyBaseTexture) Removes an image from the cache. You can optionally elect to destroy it as well. This calls BaseTexture.destroy on it. Note that this only removes it from the Phaser Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Argument Default Description key string Key of the asset you want to remove. destroyBaseTexture boolean <optional> true Should the BaseTexture behind this image also

Cache#removeCanvas()

removeCanvas(key) Removes a canvas from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1641)

Cache#removeBitmapFont()

removeBitmapFont(key) Removes a bitmap font from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1777)

Cache#removeBitmapData()

removeBitmapData(key) Removes a bitmap data from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1762)

Cache#removeBinary()

removeBinary(key) Removes a binary file from the cache. Note that this only removes it from the Phaser.Cache. If you still have references to the data elsewherethen it will persist in memory. Parameters Name Type Description key string Key of the asset you want to remove. Source code: loader/Cache.js (Line 1747)

Cache#reloadSoundComplete()

reloadSoundComplete(key) Fires the onSoundUnlock event when the sound has completed reloading. Parameters Name Type Description key string The key of the asset within the cache. Source code: loader/Cache.js (Line 691)

Cache#reloadSound()

reloadSound(key) Reload a Sound file from the server. Parameters Name Type Description key string The key of the asset within the cache. Source code: loader/Cache.js (Line 666)