Skip to content

rendertexture

Eloy Villasclaras edited this page Apr 12, 2016 · 1 revision

<rendertexture> loads a texture into the asset cache; the texture is rendered using a graphics object. Nodes of this type can only be created under an <assets> node.

Properties

Property Notes
assetKey Texture identifier in Phaser cache

Rendering

A <rendertexture> can be rendered using the same children nodes as a <graphics> node:

Clone this wiki locally