Phaser API Documentation

setTargetUVs(source, target)


Sets the vertex UV coordinates of the quad used by the shaders in the Utility Pipeline so that they correctly adjust the texture coordinates for a blit frame effect.

Be sure to call resetUVs once you have finished manipulating the UV coordinates.


name type description
source Phaser.Renderer.WebGL.RenderTarget

The source Render Target.

target Phaser.Renderer.WebGL.RenderTarget

The target Render Target.