66
77/**
88 * Provides methods used for setting the WebGL rendering pipeline of a Game Object.
9- *
9+ *
1010 * @name Phaser.GameObjects.Components.Pipeline
1111 * @webglOnly
1212 * @since 3.0.0
1313 */
1414
1515var Pipeline = {
16-
16+
1717 /**
18- * [description]
19- *
18+ * The initial WebGL pipeline of this Game Object.
19+ *
2020 * @name Phaser.GameObjects.Components.Pipeline#defaultPipeline
2121 * @type {Phaser.Renderer.WebGL.WebGLPipeline }
2222 * @default null
@@ -26,8 +26,8 @@ var Pipeline = {
2626 defaultPipeline : null ,
2727
2828 /**
29- * [description]
30- *
29+ * The current WebGL pipeline of this Game Object.
30+ *
3131 * @name Phaser.GameObjects.Components.Pipeline#pipeline
3232 * @type {Phaser.Renderer.WebGL.WebGLPipeline }
3333 * @default null
@@ -39,13 +39,13 @@ var Pipeline = {
3939 /**
4040 * Sets the initial WebGL Pipeline of this Game Object.
4141 * This should only be called during the instantiation of the Game Object.
42- *
42+ *
4343 * @method Phaser.GameObjects.Components.Pipeline#initPipeline
4444 * @webglOnly
4545 * @since 3.0.0
4646 *
4747 * @param {string } pipelineName - The name of the pipeline to set on this Game Object.
48- *
48+ *
4949 * @return {boolean } `true` if the pipeline was set successfully, otherwise `false`.
5050 */
5151 initPipeline : function ( pipelineName )
@@ -65,13 +65,13 @@ var Pipeline = {
6565
6666 /**
6767 * Sets the active WebGL Pipeline of this Game Object.
68- *
68+ *
6969 * @method Phaser.GameObjects.Components.Pipeline#setPipeline
7070 * @webglOnly
7171 * @since 3.0.0
7272 *
7373 * @param {string } pipelineName - The name of the pipeline to set on this Game Object.
74- *
74+ *
7575 * @return {boolean } `true` if the pipeline was set successfully, otherwise `false`.
7676 */
7777 setPipeline : function ( pipelineName )
@@ -84,13 +84,13 @@ var Pipeline = {
8484
8585 return true ;
8686 }
87-
87+
8888 return false ;
8989 } ,
9090
9191 /**
9292 * Resets the WebGL Pipeline of this Game Object back to the default it was created with.
93- *
93+ *
9494 * @method Phaser.GameObjects.Components.Pipeline#resetPipeline
9595 * @webglOnly
9696 * @since 3.0.0
@@ -106,7 +106,7 @@ var Pipeline = {
106106
107107 /**
108108 * Gets the name of the WebGL Pipeline this Game Object is currently using.
109- *
109+ *
110110 * @method Phaser.GameObjects.Components.Pipeline#getPipelineName
111111 * @webglOnly
112112 * @since 3.0.0
0 commit comments