addRenderTexture(key, texture)
Add a new Phaser.RenderTexture in to the cache.
Parameters
Name | Type | Description |
---|---|---|
key | string | The key that this asset will be stored in the cache under. This should be unique within this cache. |
texture | Phaser.RenderTexture | The texture to use as the base of the RenderTexture. |
- Source code: loader/Cache.js (Line 566)
Please login to continue.