@@ -721,9 +721,9 @@ var UtilityPipeline = new Class({
721721 * Set the UV values for the 6 vertices that make up the quad used by the shaders
722722 * in the Utility Pipeline.
723723 *
724- * Be sure to call `resetVertices ` once you have finished manipulating the UV coordinates.
724+ * Be sure to call `resetUVs ` once you have finished manipulating the UV coordinates.
725725 *
726- * @method Phaser.Renderer.WebGL.Pipelines.UtilityPipeline#resetVertices
726+ * @method Phaser.Renderer.WebGL.Pipelines.UtilityPipeline#setUVs
727727 * @since 3.50.0
728728 *
729729 * @param {number } uA - The u value of vertex A.
@@ -785,7 +785,7 @@ var UtilityPipeline = new Class({
785785 * Horizontally flips the UV coordinates of the quad used by the shaders in this
786786 * Utility Pipeline.
787787 *
788- * Be sure to call `resetVertices ` once you have finished manipulating the UV coordinates.
788+ * Be sure to call `resetUVs ` once you have finished manipulating the UV coordinates.
789789 *
790790 * @method Phaser.Renderer.WebGL.Pipelines.UtilityPipeline#flipX
791791 * @since 3.50.0
@@ -799,7 +799,7 @@ var UtilityPipeline = new Class({
799799 * Vertically flips the UV coordinates of the quad used by the shaders in this
800800 * Utility Pipeline.
801801 *
802- * Be sure to call `resetVertices ` once you have finished manipulating the UV coordinates.
802+ * Be sure to call `resetUVs ` once you have finished manipulating the UV coordinates.
803803 *
804804 * @method Phaser.Renderer.WebGL.Pipelines.UtilityPipeline#flipY
805805 * @since 3.50.0
@@ -809,19 +809,6 @@ var UtilityPipeline = new Class({
809809 this . setUVs ( 0 , 1 , 0 , 0 , 1 , 0 , 1 , 1 ) ;
810810 } ,
811811
812- /**
813- * Resets the quad vertices to their default values.
814- *
815- * The quad is used by all shaders of the Utility Pipeline.
816- *
817- * @method Phaser.Renderer.WebGL.Pipelines.UtilityPipeline#resetVertices
818- * @since 3.50.0
819- */
820- resetVertices : function ( )
821- {
822- this . vertexViewF32 . set ( [ - 1 , - 1 , 0 , 0 , - 1 , 1 , 0 , 1 , 1 , 1 , 1 , 1 , - 1 , - 1 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , - 1 , 1 , 0 ] ) ;
823- } ,
824-
825812 /**
826813 * Resets the quad vertice UV values to their default settings.
827814 *
0 commit comments