Draws the source
Render Target to the target
Render Target.
This is done using whatever the currently bound shader is. This method does not set a shader. All it does is bind the source texture, set the viewport and UVs then bind the target framebuffer, clears it and draws the source to it.
At the end a null framebuffer is bound. No other clearing-up takes place, so use this method carefully.
name | type | description |
---|---|---|
source | Phaser.Renderer.WebGL.RenderTarget |
The source Render Target. |
target | Phaser.Renderer.WebGL.RenderTarget |
The target Render Target. |