Cache#getRenderTexture()

getRenderTexture(key) → {Object}

Gets a RenderTexture object from the cache.

The object is looked-up based on the key given.

Note: If the object cannot be found a console.warn message is displayed.

Parameters
Name Type Description
key string

The key of the asset to retrieve from the cache.

Returns
Object -

The object with Phaser.RenderTexture and Phaser.Frame.

Source code: loader/Cache.js (Line 1405)
doc_phaser
2017-02-14 10:40:19
Comments
Leave a Comment

Please login to continue.