RenderTexture
Class: Phaser.RenderTexture
Constructor
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 and
render 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 | 登录查看完整内容
|