Cache#checkRenderTextureKey()

checkRenderTextureKey(key) → {boolean} Checks if the given key exists in the Render 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 1006)

Cache#checkPhysicsKey()

checkPhysicsKey(key) → {boolean} Checks if the given key exists in the Physics 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 889)

Cache#checkJSONKey()

checkJSONKey(key) → {boolean} Checks if the given key exists in the JSON 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 954)

Cache#checkKey()

checkKey(cache, key) → {boolean} Checks if a key for the given cache object type exists. Parameters Name Type Description cache integer The cache to search. One of the Cache consts such as Phaser.Cache.IMAGE or Phaser.Cache.SOUND. key string The key of the asset within the cache. Returns boolean - True if the key exists, otherwise false. Source code: loader/Cache.js (Line 784)

Cache#checkImageKey()

checkImageKey(key) → {boolean} Checks if the given key exists in the Image Cache. Note that this also includes Texture Atlases, Sprite Sheets and Retro Fonts. 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 837)

Cache#checkBitmapFontKey()

checkBitmapFontKey(key) → {boolean} Checks if the given key exists in the BitmapFont 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 941)

Cache#checkCanvasKey()

checkCanvasKey(key) → {boolean} Checks if the given key exists in the Canvas 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 824)

Cache#checkBinaryKey()

checkBinaryKey(key) → {boolean} Checks if the given key exists in the Binary 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 915)

Cache#checkBitmapDataKey()

checkBitmapDataKey(key) → {boolean} Checks if the given key exists in the BitmapData 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 928)

Cache#autoResolveURL

autoResolveURL : boolean Automatically resolve resource URLs to absolute paths for use with the Cache.getURL method. Source code: loader/Cache.js (Line 45)