new RenderTexture(game, width, height, key, scaleMode, resolution)
A RenderTexture is a special texture that allows any displayObject to be rendered to it. It allows you to take many complex objects andrender them down into a single quad (on WebGL) which can then be used to texture other display objects with. A way of generating textures at run-time.
Parameters
Name Type Argument Default Description game Phaser.Game Current game instance. width number <optional> 100 The widt