<p>Toggle this property to enable or disable a pipeline from rendering anything.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.active</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96009</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="activeBuffer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>active<wbr/>Buffer</span><ahref="#activeBuffer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">active<wbr/>Buffer</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLBufferWrapper</span></div><divclass="tsd-comment tsd-typography"><p>The currently active WebGLBuffer.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.activeBuffer</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95980</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="activeTextures"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>active<wbr/>Textures</span><ahref="#activeTextures"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">active<wbr/>Textures</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLTextureWrapper</span><spanclass="tsd-signature-symbol">[]</span></div><divclass="tsd-comment tsd-typography"><p>The currently active WebGLTextures, used as part of the batch process.</p>
<p>Reset to empty as part of the bind method.</p>
<p>Treat this array as read-only.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.activeTextures</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96140</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="batch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>batch</span><ahref="#batch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">batch</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLPipelineBatchEntry</span><spanclass="tsd-signature-symbol">[]</span></div><divclass="tsd-comment tsd-typography"><p>The temporary Pipeline batch. This array contains the batch entries for
the current frame, which is a package of textures and vertex offsets used
for drawing. This package is built dynamically as the frame is built
and cleared during the flush method.</p>
<p>Treat this array and all of its contents as read-only.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.batch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96106</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="bytes"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>bytes</span><ahref="#bytes"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">bytes</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Uint8Array</span></div><divclass="tsd-comment tsd-typography"><p>Uint8 view to the <code>vertexData</code> ArrayBuffer. Used for uploading vertex buffer resources to the GPU.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.bytes</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95992</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="colorMatrix"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>color<wbr/>Matrix</span><ahref="#colorMatrix"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">color<wbr/>Matrix</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">ColorMatrix</span></div><divclass="tsd-comment tsd-typography"><p>A Color Matrix instance belonging to this pipeline.</p>
<p>Used during calls to the <code>drawFrame</code> method.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.colorMatrix</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94783</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="config"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>config</span><ahref="#config"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">config</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLPipelineConfig</span></div><divclass="tsd-comment tsd-typography"><p>The configuration object that was used to create this pipeline.</p>
<p>Treat this object as 'read only', because changing it post-creation will not
impact this pipeline in any way. However, it is used internally for cloning
and post-boot set-up.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.config</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96087</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="controller"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>controller</span><ahref="#controller"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">controller</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Controller</span></div><divclass="tsd-comment tsd-typography"><p>If this Post Pipeline belongs to an FX Controller, this is a
reference to it.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.controller</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94776</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="currentBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>current<wbr/>Batch</span><ahref="#currentBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">current<wbr/>Batch</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLPipelineBatchEntry</span></div><divclass="tsd-comment tsd-typography"><p>The most recently created Pipeline batch entry.</p>
<p>Reset to null as part of the flush method.</p>
<p>Treat this value as read-only.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.currentBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96115</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="currentRenderTarget"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>current<wbr/>Render<wbr/>Target</span><ahref="#currentRenderTarget"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">current<wbr/>Render<wbr/>Target</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">RenderTarget</span></div><divclass="tsd-comment tsd-typography"><p>A reference to the currently bound Render Target instance from the <code>WebGLPipeline.renderTargets</code> array.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.currentRenderTarget</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96044</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="currentShader"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>current<wbr/>Shader</span><ahref="#currentShader"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">current<wbr/>Shader</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLShader</span></div><divclass="tsd-comment tsd-typography"><p>A reference to the currently bound WebGLShader instance from the <code>WebGLPipeline.shaders</code> array.</p>
<p>For lots of pipelines, this is the only shader, so it is a quick way to reference it without
an array look-up.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.currentShader</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96063</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="currentTexture"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>current<wbr/>Texture</span><ahref="#currentTexture"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">current<wbr/>Texture</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLTextureWrapper</span></div><divclass="tsd-comment tsd-typography"><p>The most recently bound texture, used as part of the batch process.</p>
<p>Reset to null as part of the flush method.</p>
<p>Treat this value as read-only.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.currentTexture</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96124</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="currentUnit"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>current<wbr/>Unit</span><ahref="#currentUnit"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">current<wbr/>Unit</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>Holds the most recently assigned texture unit.</p>
<p>Treat this value as read-only.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.currentUnit</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96131</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="forceZero"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>force<wbr/>Zero</span><ahref="#forceZero"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">force<wbr/>Zero</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Some pipelines require the forced use of texture zero (like the light pipeline).</p>
<p>This property should be set when that is the case.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.forceZero</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96016</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="fullFrame1"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>full<wbr/>Frame1</span><ahref="#fullFrame1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">full<wbr/>Frame1</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">RenderTarget</span></div><divclass="tsd-comment tsd-typography"><p>A reference to the Full Frame 1 Render Target that belongs to the
Utility Pipeline. This property is set during the <code>boot</code> method.</p>
<p>This Render Target is the full size of the renderer.</p>
<p>You can use this directly in Post FX Pipelines for multi-target effects.
However, be aware that these targets are shared between all post fx pipelines.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.fullFrame1</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94794</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="fullFrame2"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>full<wbr/>Frame2</span><ahref="#fullFrame2"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">full<wbr/>Frame2</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">RenderTarget</span></div><divclass="tsd-comment tsd-typography"><p>A reference to the Full Frame 2 Render Target that belongs to the
Utility Pipeline. This property is set during the <code>boot</code> method.</p>
<p>This Render Target is the full size of the renderer.</p>
<p>You can use this directly in Post FX Pipelines for multi-target effects.
However, be aware that these targets are shared between all post fx pipelines.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.fullFrame2</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94805</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="game"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>game</span><ahref="#game"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">game</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Game</span></div><divclass="tsd-comment tsd-typography"><p>The Phaser Game instance to which this pipeline is bound.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.game</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95914</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="gameObject"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>game<wbr/>Object</span><ahref="#gameObject"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">game<wbr/>Object</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Camera</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">GameObject</span></div><divclass="tsd-comment tsd-typography"><p>If this Post Pipeline belongs to a Game Object or Camera,
this property contains a reference to it.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.gameObject</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94770</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="gl"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>gl</span><ahref="#gl"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">gl</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLRenderingContext</span></div><divclass="tsd-comment tsd-typography"><p>The WebGL context this WebGL Pipeline uses.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.gl</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95932</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="glReset"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>gl<wbr/>Reset</span><ahref="#glReset"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">gl<wbr/>Reset</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Has the GL Context been reset to the Phaser defaults since the last time
this pipeline was bound? This is set automatically when the Pipeline Manager
resets itself, usually after handing off to a 3rd party renderer like Spine.</p>
<p>You should treat this property as read-only.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.glReset</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96096</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="halfFrame1"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>half<wbr/>Frame1</span><ahref="#halfFrame1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">half<wbr/>Frame1</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">RenderTarget</span></div><divclass="tsd-comment tsd-typography"><p>A reference to the Half Frame 1 Render Target that belongs to the
Utility Pipeline. This property is set during the <code>boot</code> method.</p>
<p>This Render Target is half the size of the renderer.</p>
<p>You can use this directly in Post FX Pipelines for multi-target effects.
However, be aware that these targets are shared between all post fx pipelines.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.halfFrame1</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94816</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="halfFrame2"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>half<wbr/>Frame2</span><ahref="#halfFrame2"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">half<wbr/>Frame2</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">RenderTarget</span></div><divclass="tsd-comment tsd-typography"><p>A reference to the Half Frame 2 Render Target that belongs to the
Utility Pipeline. This property is set during the <code>boot</code> method.</p>
<p>This Render Target is half the size of the renderer.</p>
<p>You can use this directly in Post FX Pipelines for multi-target effects.
However, be aware that these targets are shared between all post fx pipelines.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.halfFrame2</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94827</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="hasBooted"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagReadonly">Readonly</code><span>has<wbr/>Booted</span><ahref="#hasBooted"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">has<wbr/>Booted</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Indicates if this pipeline has booted or not.</p>
<p>A pipeline boots only when the Game instance itself, and all associated systems, is
fully ready.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.hasBooted</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96024</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="height"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>height</span><ahref="#height"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">height</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>Height of the current viewport.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.height</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95947</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="isPostFX"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagReadonly">Readonly</code><span>is<wbr/>PostFX</span><ahref="#isPostFX"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">is<wbr/>PostFX</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Indicates if this is a Post FX Pipeline, or not.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.isPostFX</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96029</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="isPreFX"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagReadonly">Readonly</code><span>is<wbr/>PreFX</span><ahref="#isPreFX"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">is<wbr/>PreFX</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">boolean</span></div><divclass="tsd-comment tsd-typography"><p>Indicates if this is a Pre FX Pipeline, or not.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.isPreFX</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96034</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="manager"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>manager</span><ahref="#manager"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">manager</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">PipelineManager</span></div><divclass="tsd-comment tsd-typography"><p>A reference to the WebGL Pipeline Manager.</p>
<p>This is initially undefined and only set when this pipeline is added
to the manager.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.manager</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95927</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="name"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>name</span><ahref="#name"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">name</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">string</span></div><divclass="tsd-comment tsd-typography"><p>Name of the pipeline. Used for identification and setting from Game Objects.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.name</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95909</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="projectionHeight"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>projection<wbr/>Height</span><ahref="#projectionHeight"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">projection<wbr/>Height</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>The cached height of the Projection matrix.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.projectionHeight</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96078</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="projectionMatrix"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>projection<wbr/>Matrix</span><ahref="#projectionMatrix"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">projection<wbr/>Matrix</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Matrix4</span></div><divclass="tsd-comment tsd-typography"><p>The Projection matrix, used by shaders as 'uProjectionMatrix' uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.projectionMatrix</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96068</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="projectionWidth"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>projection<wbr/>Width</span><ahref="#projectionWidth"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">projection<wbr/>Width</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>The cached width of the Projection matrix.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.projectionWidth</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96073</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="renderTargets"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>render<wbr/>Targets</span><ahref="#renderTargets"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">render<wbr/>Targets</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">RenderTarget</span><spanclass="tsd-signature-symbol">[]</span></div><divclass="tsd-comment tsd-typography"><p>An array of RenderTarget instances that belong to this pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.renderTargets</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96039</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="renderer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>renderer</span><ahref="#renderer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">renderer</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLRenderer</span></div><divclass="tsd-comment tsd-typography"><p>The WebGL Renderer instance to which this pipeline is bound.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.renderer</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95919</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="resizeUniform"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>resize<wbr/>Uniform</span><ahref="#resizeUniform"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">resize<wbr/>Uniform</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">string</span></div><divclass="tsd-comment tsd-typography"><p>If the WebGL Renderer changes size, this uniform will be set with the new width and height values
as part of the pipeline resize method. Various built-in pipelines, such as the MultiPipeline, set
this property automatically to <code>uResolution</code>.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.resizeUniform</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96147</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="shaders"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>shaders</span><ahref="#shaders"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">shaders</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLShader</span><spanclass="tsd-signature-symbol">[]</span></div><divclass="tsd-comment tsd-typography"><p>An array of all the WebGLShader instances that belong to this pipeline.</p>
<p>Shaders manage their own attributes and uniforms, but share the same vertex data buffer,
which belongs to this pipeline.</p>
<p>Shaders are set in a call to the <code>setShadersFromConfig</code> method, which happens automatically,
but can also be called at any point in your game. See the method documentation for details.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.shaders</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96055</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="topology"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>topology</span><ahref="#topology"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">topology</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>The primitive topology which the pipeline will use to submit draw calls.</p>
<p>Defaults to GL_TRIANGLES if not otherwise set in the config.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.topology</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95987</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="vertexBuffer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagReadonly">Readonly</code><span>vertex<wbr/>Buffer</span><ahref="#vertexBuffer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">vertex<wbr/>Buffer</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">WebGLBufferWrapper</span></div><divclass="tsd-comment tsd-typography"><p>The WebGLBuffer that holds the vertex data.</p>
<p>Created from the <code>vertexData</code> ArrayBuffer. If <code>vertices</code> are set in the config, a <code>STATIC_DRAW</code> buffer
is created. If not, a <code>DYNAMIC_DRAW</code> buffer is created.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.vertexBuffer</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95975</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="vertexCapacity"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>vertex<wbr/>Capacity</span><ahref="#vertexCapacity"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">vertex<wbr/>Capacity</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>The total number of vertices that this pipeline batch can hold before it will flush.</p>
<p>This defaults to <code>renderer batchSize * 6</code>, where <code>batchSize</code> is defined in the Renderer Game Config.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.vertexCapacity</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95959</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="vertexCount"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>vertex<wbr/>Count</span><ahref="#vertexCount"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">vertex<wbr/>Count</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>The current number of vertices that have been added to the pipeline batch.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.vertexCount</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95952</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="vertexData"class="tsd-anchor"></a><h3class="tsd-anchor-link"><codeclass="tsd-tag ts-flagReadonly">Readonly</code><span>vertex<wbr/>Data</span><ahref="#vertexData"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">vertex<wbr/>Data</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">ArrayBuffer</span></div><divclass="tsd-comment tsd-typography"><p>Raw byte buffer of vertices.</p>
<p>Either set via the config object <code>vertices</code> property, or generates a new Array Buffer of
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.vertexData</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95967</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="vertexViewF32"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>vertex<wbr/>View<wbr/>F32</span><ahref="#vertexViewF32"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">vertex<wbr/>View<wbr/>F32</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Float32Array</span></div><divclass="tsd-comment tsd-typography"><p>Float32 view of the array buffer containing the pipeline's vertices.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.vertexViewF32</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95997</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="vertexViewU32"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>vertex<wbr/>View<wbr/>U32</span><ahref="#vertexViewU32"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">vertex<wbr/>View<wbr/>U32</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">Uint32Array</span></div><divclass="tsd-comment tsd-typography"><p>Uint32 view of the array buffer containing the pipeline's vertices.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.vertexViewU32</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96002</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="view"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>view</span><ahref="#view"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">view</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">HTMLCanvasElement</span></div><divclass="tsd-comment tsd-typography"><p>The canvas which this WebGL Pipeline renders to.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.view</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95937</li></ul></aside></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="width"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>width</span><ahref="#width"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><divclass="tsd-signature"><spanclass="tsd-kind-property">width</span><spanclass="tsd-signature-symbol">:</span><spanclass="tsd-signature-type">number</span></div><divclass="tsd-comment tsd-typography"><p>Width of the current viewport.</p>
</div><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.width</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95942</li></ul></aside></section></section><sectionclass="tsd-panel-group tsd-member-group"><h2>Methods</h2><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="addListener"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>add<wbr/>Listener</span><ahref="#addListener"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="addListener.addListener-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">add<wbr/>Listener</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">event</span>, <spanclass="tsd-kind-parameter">fn</span>, <spanclass="tsd-kind-parameter">context</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#addListener.addListener-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Add a listener for a given event.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">context</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.addListener</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9951</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="addTextureToBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>add<wbr/>Texture<wbr/>To<wbr/>Batch</span><ahref="#addTextureToBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="addTextureToBatch.addTextureToBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">add<wbr/>Texture<wbr/>To<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">texture</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#addTextureToBatch.addTextureToBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adds the given texture to the current WebGL Pipeline Batch Entry and
increases the batch entry unit and maxUnit values by 1.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">texture</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>The texture assigned to this batch entry.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.addTextureToBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96210</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="batchQuad"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>batch<wbr/>Quad</span><ahref="#batchQuad"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="batchQuad.batchQuad-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">batch<wbr/>Quad</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span>, <spanclass="tsd-kind-parameter">x0</span>, <spanclass="tsd-kind-parameter">y0</span>, <spanclass="tsd-kind-parameter">x1</span>, <spanclass="tsd-kind-parameter">y1</span>, <spanclass="tsd-kind-parameter">x2</span>, <spanclass="tsd-kind-parameter">y2</span>, <spanclass="tsd-kind-parameter">x3</span>, <spanclass="tsd-kind-parameter">y3</span>, <spanclass="tsd-kind-parameter">u0</span>, <spanclass="tsd-kind-parameter">v0</span>, <spanclass="tsd-kind-parameter">u1</span>, <spanclass="tsd-kind-parameter">v1</span>, <spanclass="tsd-kind-parameter">tintTL</span>, <spanclass="tsd-kind-parameter">tintTR</span>, <spanclass="tsd-kind-parameter">tintBL</span>, <spanclass="tsd-kind-parameter">tintBR</span>, <spanclass="tsd-kind-parameter">tintEffect</span>, <spanclass="tsd-kind-parameter">texture</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">unit</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#batchQuad.batchQuad-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adds the vertices data into the batch and flushes if full.</p>
<p>Assumes 6 vertices in the following arrangement:</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object, if any, drawing this quad.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x0</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-left x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y0</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-left y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x1</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-left x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y1</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-left y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x2</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-right x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y2</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-right y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x3</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-right x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y3</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-right y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintTL</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-left tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintTR</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-right tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintBL</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-left tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintBR</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-right tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintEffect</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>The tint effect for the shader to use.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">texture</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>Texture that will be assigned to the current batch if a flush occurs.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">unit</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Texture unit to which the texture needs to be bound. Default 0.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.batchQuad</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96551</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="batchTri"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>batch<wbr/>Tri</span><ahref="#batchTri"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="batchTri.batchTri-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">batch<wbr/>Tri</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span>, <spanclass="tsd-kind-parameter">x1</span>, <spanclass="tsd-kind-parameter">y1</span>, <spanclass="tsd-kind-parameter">x2</span>, <spanclass="tsd-kind-parameter">y2</span>, <spanclass="tsd-kind-parameter">x3</span>, <spanclass="tsd-kind-parameter">y3</span>, <spanclass="tsd-kind-parameter">u0</span>, <spanclass="tsd-kind-parameter">v0</span>, <spanclass="tsd-kind-parameter">u1</span>, <spanclass="tsd-kind-parameter">v1</span>, <spanclass="tsd-kind-parameter">tintTL</span>, <spanclass="tsd-kind-parameter">tintTR</span>, <spanclass="tsd-kind-parameter">tintBL</span>, <spanclass="tsd-kind-parameter">tintEffect</span>, <spanclass="tsd-kind-parameter">texture</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">unit</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#batchTri.batchTri-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adds the vertices data into the batch and flushes if full.</p>
<p>Assumes 3 vertices in the following arrangement:</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object, if any, drawing this quad.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x1</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-left x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y1</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-left y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x2</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-right x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y2</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-right y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x3</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-right x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y3</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-right y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintTL</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-left tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintTR</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The top-right tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintBL</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The bottom-left tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintEffect</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>The tint effect for the shader to use.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">texture</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>Texture that will be assigned to the current batch if a flush occurs.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">unit</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Texture unit to which the texture needs to be bound. Default 0.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.batchTri</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96585</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="batchVert"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>batch<wbr/>Vert</span><ahref="#batchVert"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="batchVert.batchVert-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">batch<wbr/>Vert</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">u</span>, <spanclass="tsd-kind-parameter">v</span>, <spanclass="tsd-kind-parameter">unit</span>, <spanclass="tsd-kind-parameter">tintEffect</span>, <spanclass="tsd-kind-parameter">tint</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#batchVert.batchVert-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adds a single vertex to the current vertex buffer and increments the
<code>vertexCount</code> property by 1.</p>
<p>This method is called directly by <code>batchTri</code> and <code>batchQuad</code>.</p>
<p>It does not perform any batch limit checking itself, so if you need to call
this method directly, do so in the same way that <code>batchQuad</code> does, for example.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The vertex x position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The vertex y position.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">u</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>UV u value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">v</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>UV v value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">unit</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Texture unit to which the texture needs to be bound.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tintEffect</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>The tint effect for the shader to use.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">tint</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The tint color value.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.batchVert</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96512</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="bind"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>bind</span><ahref="#bind"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="bind.bind-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">bind</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">currentShader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#bind.bind-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called every time the Pipeline Manager makes this pipeline the currently active one.</p>
<p>It binds the resources and shader needed for this pipeline, including setting the vertex buffer
and attribute pointers.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">currentShader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set as being current.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.bind</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96297</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="bindAndDraw"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>bind<wbr/>And<wbr/>Draw</span><ahref="#bindAndDraw"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="bindAndDraw.bindAndDraw-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">bind<wbr/>And<wbr/>Draw</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clear</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">currentShader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#bindAndDraw.bindAndDraw-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Binds this pipeline and draws the <code>source</code> Render Target to the <code>target</code> Render Target.</p>
<p>If no <code>target</code> is specified, it will pop the framebuffer from the Renderers FBO stack
and use that instead, which should be done when you need to draw the final results of
this pipeline to the game canvas.</p>
<p>You can optionally set the shader to be used for the draw here, if this is a multi-shader
pipeline. By default <code>currentShader</code> will be used. If you need to set a shader but not
a target, just pass <code>null</code> as the <code>target</code> parameter.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">source</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The Render Target to draw from.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">target</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The Render Target to draw to. If not set, it will pop the fbo from the stack.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clear</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the target before copying? Only used if <code>target</code> parameter is set. Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">currentShader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to use during the draw.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.bindAndDraw</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94996</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="bindRenderTarget"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>bind<wbr/>Render<wbr/>Target</span><ahref="#bindRenderTarget"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="bindRenderTarget.bindRenderTarget-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">bind<wbr/>Render<wbr/>Target</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">unit</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#bindRenderTarget.bindRenderTarget-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Activates the given Render Target texture and binds it to the
requested WebGL texture slot.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">target</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The Render Target to activate and bind.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">unit</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The WebGL texture ID to activate. Defaults to <code>gl.TEXTURE0</code>. Default 0.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.bindRenderTarget</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96626</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="bindTexture"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>bind<wbr/>Texture</span><ahref="#bindTexture"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="bindTexture.bindTexture-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">bind<wbr/>Texture</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">unit</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#bindTexture.bindTexture-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Activates the given WebGL Texture and binds it to the requested texture slot.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">target</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>Texture to activate and bind.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">unit</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The WebGL texture ID to activate. Defaults to <code>gl.TEXTURE0</code>. Default 0.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.bindTexture</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96618</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="blendFrames"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>blend<wbr/>Frames</span><ahref="#blendFrames"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="blendFrames.blendFrames-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">blend<wbr/>Frames</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source1</span>, <spanclass="tsd-kind-parameter">source2</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">strength</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#blendFrames.blendFrames-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Draws the <code>source1</code> and <code>source2</code> Render Targets to the <code>target</code> Render Target
using a linear blend effect, which is controlled by the <code>strength</code> parameter.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">source1</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The first source Render Target.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">source2</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The second source Render Target.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">strength</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The strength of the blend. Default 1.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.blendFrames</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94924</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="blendFramesAdditive"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>blend<wbr/>Frames<wbr/>Additive</span><ahref="#blendFramesAdditive"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="blendFramesAdditive.blendFramesAdditive-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">blend<wbr/>Frames<wbr/>Additive</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source1</span>, <spanclass="tsd-kind-parameter">source2</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">strength</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#blendFramesAdditive.blendFramesAdditive-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Draws the <code>source1</code> and <code>source2</code> Render Targets to the <code>target</code> Render Target
using an additive blend effect, which is controlled by the <code>strength</code> parameter.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">source1</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The first source Render Target.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">source2</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The second source Render Target.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">strength</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The strength of the blend. Default 1.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.blendFramesAdditive</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94935</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="blitFrame"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>blit<wbr/>Frame</span><ahref="#blitFrame"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="blitFrame.blitFrame-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">blit<wbr/>Frame</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">brightness</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clear</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">eraseMode</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#blitFrame.blitFrame-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Copy the <code>source</code> Render Target to the <code>target</code> Render Target.</p>
<p>The difference with this copy is that no resizing takes place. If the <code>source</code>
Render Target is larger than the <code>target</code> then only a portion the same size as
the <code>target</code> dimensions is copied across.</p>
<p>You can optionally set the brightness factor of the copy.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">brightness</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The brightness value applied to the frame copy. Default 1.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clear</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the target before copying? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">eraseMode</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Erase source from target using ERASE Blend Mode? Default false.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.blitFrame</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94959</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="boot"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>boot</span><ahref="#boot"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="boot.boot-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">boot</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#boot.boot-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Called when the Game has fully booted and the Renderer has finished setting up.</p>
<p>By this stage all Game level systems are now in place. You can perform any final tasks that the
pipeline may need, that relies on game systems such as the Texture Manager being ready.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.boot</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96155</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="bootFX"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>bootFX</span><ahref="#bootFX"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="bootFX.bootFX-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">bootFX</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#bootFX.bootFX-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called once, when this Post FX Pipeline needs to be used.</p>
<p>Normally, pipelines will boot automatically, ready for instant-use, but Post FX
Pipelines create quite a lot of internal resources, such as Render Targets, so
they don't boot until they are told to do so by the Pipeline Manager, when an
actual Game Object needs to use them.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.bootFX</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94837</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="clearFrame"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>clear<wbr/>Frame</span><ahref="#clearFrame"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="clearFrame.clearFrame-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">clear<wbr/>Frame</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#clearFrame.clearFrame-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Clears the given Render Target.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">target</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The Render Target to clear.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.clearFrame</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94942</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="copyFrame"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>copy<wbr/>Frame</span><ahref="#copyFrame"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="copyFrame.copyFrame-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">copy<wbr/>Frame</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">brightness</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clear</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#copyFrame.copyFrame-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Copy the <code>source</code> Render Target to the <code>target</code> Render Target.</p>
<p>You can optionally set the brightness factor of the copy.</p>
<p>The difference between this method and <code>drawFrame</code> is that this method
uses a faster copy shader, where only the brightness can be modified.
If you need color level manipulation, see <code>drawFrame</code> instead.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">brightness</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The brightness value applied to the frame copy. Default 1.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clear</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the target before copying? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.copyFrame</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94886</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="copyFrameRect"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>copy<wbr/>Frame<wbr/>Rect</span><ahref="#copyFrameRect"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="copyFrameRect.copyFrameRect-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">copy<wbr/>Frame<wbr/>Rect</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span>, <spanclass="tsd-kind-parameter">target</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">width</span>, <spanclass="tsd-kind-parameter">height</span>, <spanclass="tsd-kind-parameter">clear</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#copyFrameRect.copyFrameRect-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Binds the <code>source</code> Render Target and then copies a section of it to the <code>target</code> Render Target.</p>
<p>This method is extremely fast because it uses <code>gl.copyTexSubImage2D</code> and doesn't
require the use of any shaders. Remember the coordinates are given in standard WebGL format,
where x and y specify the lower-left corner of the section, not the top-left. Also, the
copy entirely replaces the contents of the target texture, no 'merging' or 'blending' takes
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The x coordinate of the lower left corner where to start copying.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The y coordinate of the lower left corner where to start copying.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">width</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The width of the texture.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">height</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The height of the texture.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clear</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the target before copying? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.copyFrameRect</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94978</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="copySprite"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>copy<wbr/>Sprite</span><ahref="#copySprite"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="copySprite.copySprite-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">copy<wbr/>Sprite</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#copySprite.copySprite-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Copy the <code>source</code> Render Target to the <code>target</code> Render Target.</p>
<p>This method does <em>not</em> bind a shader. It uses whatever shader
is currently bound in this pipeline. It also does <em>not</em> clear
the frame buffers after use. You should take care of both of
these things if you call this method directly.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.copySprite</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94870</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="copyToGame"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>copy<wbr/>To<wbr/>Game</span><ahref="#copyToGame"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="copyToGame.copyToGame-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">copy<wbr/>To<wbr/>Game</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#copyToGame.copyToGame-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Pops the framebuffer from the renderers FBO stack and sets that as the active target,
then draws the <code>source</code> Render Target to it. It then resets the renderer textures.</p>
<p>This should be done when you need to draw the <em>final</em> results of a pipeline to the game
canvas, or the next framebuffer in line on the FBO stack. You should only call this once
in the <code>onDraw</code> handler and it should be the final thing called. Be careful not to call
this if you need to actually use the pipeline shader, instead of the copy shader. In
those cases, use the <code>bindAndDraw</code> method.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">source</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>The Render Target to draw from.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.copyToGame</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94899</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="createBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>create<wbr/>Batch</span><ahref="#createBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="createBatch.createBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">create<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">texture</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#createBatch.createBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Creates a new WebGL Pipeline Batch Entry, sets the texture unit as zero
and pushes the entry into the batch.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">texture</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>The texture assigned to this batch entry.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.createBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96203</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="destroy"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>destroy</span><ahref="#destroy"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="destroy.destroy-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">destroy</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#destroy.destroy-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Destroys all shader instances, removes all object references and nulls all external references.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.destroy</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:95001</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="drawFillRect"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>draw<wbr/>Fill<wbr/>Rect</span><ahref="#drawFillRect"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="drawFillRect.drawFillRect-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">draw<wbr/>Fill<wbr/>Rect</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">width</span>, <spanclass="tsd-kind-parameter">height</span>, <spanclass="tsd-kind-parameter">color</span>, <spanclass="tsd-kind-parameter">alpha</span>, <spanclass="tsd-kind-parameter">texture</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">flipUV</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#drawFillRect.drawFillRect-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Pushes a filled rectangle into the vertex batch.</p>
<p>The dimensions are run through <code>Math.floor</code> before the quad is generated.</p>
<p>Rectangle has no transform values and isn't transformed into the local space.</p>
<p>Used for directly batching untransformed rectangles, such as Camera background colors.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Horizontal top left coordinate of the rectangle.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Vertical top left coordinate of the rectangle.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">width</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Width of the rectangle.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">height</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Height of the rectangle.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">color</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Color of the rectangle to draw.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">alpha</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Alpha value of the rectangle to draw.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">texture</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>texture that will be assigned to the current batch if a flush occurs.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">flipUV</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Flip the vertical UV coordinates of the texture before rendering? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.drawFillRect</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96604</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="drawFrame"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>draw<wbr/>Frame</span><ahref="#drawFrame"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="drawFrame.drawFrame-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">draw<wbr/>Frame</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">source</span>, <spanclass="tsd-kind-parameter">target</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">clearAlpha</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#drawFrame.drawFrame-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Copy the <code>source</code> Render Target to the <code>target</code> Render Target, using this pipelines
Color Matrix.</p>
<p>The difference between this method and <code>copyFrame</code> is that this method
uses a color matrix shader, where you have full control over the luminance
values used during the copy. If you don't need this, you can use the faster
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">clearAlpha</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Clear the alpha channel when running <code>gl.clear</code> on the target? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.drawFrame</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94913</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="emit"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>emit</span><ahref="#emit"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="emit.emit-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">emit</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">event</span>, <spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">args</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#emit.emit-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Calls each of the listeners registered for a given event.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagRest">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">args</span>: <spanclass="tsd-signature-type">any</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>Additional arguments that will be passed to the event handler.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.emit</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9935</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="eventNames"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>event<wbr/>Names</span><ahref="#eventNames"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="eventNames.eventNames-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">event<wbr/>Names</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-type">string</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">symbol</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span><ahref="#eventNames.eventNames-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Return an array listing the events for which the emitter has registered listeners.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-type">string</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">symbol</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.eventNames</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9916</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="flipProjectionMatrix"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>flip<wbr/>Projection<wbr/>Matrix</span><ahref="#flipProjectionMatrix"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="flipProjectionMatrix.flipProjectionMatrix-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">flip<wbr/>Projection<wbr/>Matrix</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">flipY</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#flipProjectionMatrix.flipProjectionMatrix-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adjusts this pipelines ortho Projection Matrix to flip the y
and bottom values. Call with 'false' as the parameter to flip
them back again.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">flipY</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Flip the y and bottom values? Default true.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.flipProjectionMatrix</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96279</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="flush"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>flush</span><ahref="#flush"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="flush.flush-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">flush</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">isPostFlush</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#flush.flush-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Uploads the vertex data and emits a draw call for the current batch of vertices.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">isPostFlush</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Was this flush invoked as part of a post-process, or not? Default false.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.flush</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96371</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="getController"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Controller</span><ahref="#getController"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="getController.getController-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Controller</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">controller</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">PostFXPipeline</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Controller</span><ahref="#getController.getController-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns the FX Controller for this Post FX Pipeline.</p>
<p>This is called internally and not typically required outside.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">controller</span>: <spanclass="tsd-signature-type">Controller</span></span><divclass="tsd-comment tsd-typography"><p>An FX Controller, or undefined.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">PostFXPipeline</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Controller</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.getController</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94858</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="getShaderByName"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Shader<wbr/>By<wbr/>Name</span><ahref="#getShaderByName"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="getShaderByName.getShaderByName-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Shader<wbr/>By<wbr/>Name</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">WebGLShader</span><ahref="#getShaderByName.getShaderByName-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Searches all shaders in this pipeline for one matching the given name, then returns it.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The index of the shader to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">WebGLShader</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.getShaderByName</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96186</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="listenerCount"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>listener<wbr/>Count</span><ahref="#listenerCount"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="listenerCount.listenerCount-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">listener<wbr/>Count</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">event</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#listenerCount.listenerCount-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Return the number of listeners listening to a given event.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.listenerCount</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9928</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="listeners"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>listeners</span><ahref="#listeners"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="listeners.listeners-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">listeners</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">event</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">Function</span><spanclass="tsd-signature-symbol">[]</span><ahref="#listeners.listeners-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Return the listeners registered for a given event.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">fn</span>: <spanclass="tsd-signature-type">Function</span></span><divclass="tsd-comment tsd-typography"><p>Only remove the listeners that match this function.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">context</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>Only remove the listeners that have this context.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.off</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9977</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="on"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on</span><ahref="#on"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="on.on-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">event</span>, <spanclass="tsd-kind-parameter">fn</span>, <spanclass="tsd-kind-parameter">context</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#on.on-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Add a listener for a given event.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">context</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.on</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9943</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onActive"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Active</span><ahref="#onActive"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onActive.onActive-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Active</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">currentShader</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onActive.onActive-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called every time the Pipeline Manager makes this the active pipeline. It is called
at the end of the <code>WebGLPipeline.bind</code> method, after the current shader has been set. The current
shader is passed to this hook.</p>
<p>For example, if a display list has 3 Sprites in it that all use the same pipeline, this hook will
only be called for the first one, as the 2nd and 3rd Sprites do not cause the pipeline to be changed.</p>
<p>If you need to listen for that event instead, use the <code>onBind</code> hook.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">currentShader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader that was set as current.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onActive</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96386</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onAfterFlush"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>After<wbr/>Flush</span><ahref="#onAfterFlush"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onAfterFlush.onAfterFlush-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>After<wbr/>Flush</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">isPostFlush</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onAfterFlush.onAfterFlush-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called immediately after this pipeline has finished flushing its batch.</p>
<p>It is called after the <code>gl.drawArrays</code> call.</p>
<p>You can perform additional post-render effects, but be careful not to call <code>flush</code>
on this pipeline from within this method, or you'll cause an infinite loop.</p>
<p>To apply changes pre-render, see <code>onBeforeFlush</code>.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">isPostFlush</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Was this flush invoked as part of a post-process, or not? Default false.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onAfterFlush</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96494</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Batch</span><ahref="#onBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onBatch.onBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onBatch.onBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called every time the <code>batchQuad</code> or <code>batchTri</code> methods are called. If this was
as a result of a Game Object, then the Game Object reference is passed to this hook too.</p>
<p>This hook is called <em>after</em> the quad (or tri) has been added to the batch, so you can safely
call 'flush' from within this.</p>
<p>Note that Game Objects may call <code>batchQuad</code> or <code>batchTri</code> multiple times for a single draw,
for example the Graphics Game Object.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object that invoked this pipeline, if any.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96423</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onBeforeFlush"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Before<wbr/>Flush</span><ahref="#onBeforeFlush"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onBeforeFlush.onBeforeFlush-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Before<wbr/>Flush</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">isPostFlush</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onBeforeFlush.onBeforeFlush-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called every time this pipeline is asked to flush its batch.</p>
<p>It is called immediately before the <code>gl.bufferData</code> and <code>gl.drawArrays</code> calls are made, so you can
perform any final pre-render modifications. To apply changes post-render, see <code>onAfterFlush</code>.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">isPostFlush</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Was this flush invoked as part of a post-process, or not? Default false.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onBeforeFlush</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96479</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onBind"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Bind</span><ahref="#onBind"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onBind.onBind-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Bind</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onBind.onBind-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called every time a <strong>Game Object</strong> asks the Pipeline Manager to use this pipeline,
even if the pipeline is already active.</p>
<p>Unlike the <code>onActive</code> method, which is only called when the Pipeline Manager makes this pipeline
active, this hook is called for every Game Object that requests use of this pipeline, allowing you to
perform per-object set-up, such as loading shader uniform data.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object that invoked this pipeline, if any.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onBind</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96399</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onBoot"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Boot</span><ahref="#onBoot"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onBoot.onBoot-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Boot</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onBoot.onBoot-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called once when this pipeline has finished being set-up
at the end of the boot process. By the time this method is called, all
of the shaders are ready and configured.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onBoot</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96162</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onDraw"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Draw</span><ahref="#onDraw"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onDraw.onDraw-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Draw</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">renderTarget</span>, <spanclass="tsd-kind-parameter">swapTarget</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onDraw.onDraw-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is only used by Sprite FX and Post FX Pipelines and those that extend from them.</p>
<p>This method is called every time the <code>postBatch</code> method is called and is passed a
reference to the current render target.</p>
<p>At the very least a Post FX Pipeline should call <code>this.bindAndDraw(renderTarget)</code>,
however, you can do as much additional processing as you like in this method if
you override it from within your own pipelines.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">swapTarget</span>: <spanclass="tsd-signature-type">RenderTarget</span></span><divclass="tsd-comment tsd-typography"><p>A Swap Render Target, useful for double-buffer effects. Only set by SpriteFX Pipelines.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onDraw</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96359</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onPostBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Post<wbr/>Batch</span><ahref="#onPostBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onPostBatch.onPostBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Post<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onPostBatch.onPostBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called immediately after a <strong>Game Object</strong> has been added to the batch.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object that invoked this pipeline, if any.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onPostBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96439</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onPostRender"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Post<wbr/>Render</span><ahref="#onPostRender"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onPostRender.onPostRender-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Post<wbr/>Render</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onPostRender.onPostRender-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called <em>once per frame</em>, after all rendering has happened and snapshots have been taken.</p>
<p>It is called at the very end of the rendering process, once all Cameras, for all Scenes, have
been rendered.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onPostRender</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96468</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onPreBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Pre<wbr/>Batch</span><ahref="#onPreBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onPreBatch.onPreBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Pre<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onPreBatch.onPreBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called immediately before a <strong>Game Object</strong> is about to add itself to the batch.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object that invoked this pipeline, if any.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onPreBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96431</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onPreRender"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Pre<wbr/>Render</span><ahref="#onPreRender"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onPreRender.onPreRender-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Pre<wbr/>Render</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onPreRender.onPreRender-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called once per frame, right before anything has been rendered, but after the canvas
has been cleared. If this pipeline has a render target, it will also have been cleared by this point.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onPreRender</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96447</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onRebind"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Rebind</span><ahref="#onRebind"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onRebind.onRebind-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Rebind</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onRebind.onRebind-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called when the Pipeline Manager needs to rebind this pipeline. This happens after a
pipeline has been cleared, usually when passing control over to a 3rd party WebGL library, like Spine,
and then returing to Phaser again.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onRebind</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96408</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onRender"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Render</span><ahref="#onRender"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onRender.onRender-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Render</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">scene</span>, <spanclass="tsd-kind-parameter">camera</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onRender.onRender-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>By default this is an empty method hook that you can override and use in your own custom pipelines.</p>
<p>This method is called <em>once per frame</em>, by every Camera in a Scene that wants to render.</p>
<p>It is called at the start of the rendering process, before anything has been drawn to the Camera.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">scene</span>: <spanclass="tsd-signature-type">Scene</span></span><divclass="tsd-comment tsd-typography"><p>The Scene being rendered.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">camera</span>: <spanclass="tsd-signature-type">Camera</span></span><divclass="tsd-comment tsd-typography"><p>The Scene Camera being rendered with.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onRender</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96458</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="onResize"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>on<wbr/>Resize</span><ahref="#onResize"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="onResize.onResize-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">on<wbr/>Resize</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">width</span>, <spanclass="tsd-kind-parameter">height</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#onResize.onResize-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called once when this pipeline has finished being set-up
at the end of the boot process. By the time this method is called, all
of the shaders are ready and configured. It's also called if the renderer
changes size.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">width</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new width of this WebGL Pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">height</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new height of this WebGL Pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.onResize</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96172</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="once"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>once</span><ahref="#once"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="once.once-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">once</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">event</span>, <spanclass="tsd-kind-parameter">fn</span>, <spanclass="tsd-kind-parameter">context</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#once.once-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Add a one-time listener for a given event.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">context</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The context to invoke the listener with. Default this.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.once</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9959</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="postBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>post<wbr/>Batch</span><ahref="#postBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="postBatch.postBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">post<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#postBatch.postBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called as a result of the <code>WebGLPipeline.batchQuad</code> method, right after a quad
belonging to a Game Object has been added to the batch. When this is called, the
renderer has just performed a flush.</p>
<p>It calls the <code>onDraw</code> hook followed by the <code>onPostBatch</code> hook, which can be used to perform
additional Post FX Pipeline processing.</p>
<p>It is also called as part of the <code>PipelineManager.postBatch</code> method when processing Post FX Pipelines.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">Camera</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object or Camera that invoked this pipeline, if any.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.postBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:94850</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="preBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>pre<wbr/>Batch</span><ahref="#preBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="preBatch.preBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">pre<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#preBatch.preBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called as a result of the <code>WebGLPipeline.batchQuad</code> method, right before a quad
belonging to a Game Object is about to be added to the batch. When this is called, the
renderer has just performed a flush. It will bind the current render target, if any are set
and finally call the <code>onPreBatch</code> hook.</p>
<p>It is also called as part of the <code>PipelineManager.preBatch</code> method when processing Post FX Pipelines.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">Camera</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object or Camera that invoked this pipeline, if any.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.preBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96332</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="pushBatch"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>push<wbr/>Batch</span><ahref="#pushBatch"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="pushBatch.pushBatch-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">push<wbr/>Batch</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">texture</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#pushBatch.pushBatch-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Takes the given WebGLTextureWrapper and determines what to do with it.</p>
<p>If there is no current batch (i.e. after a flush) it will create a new
batch from it.</p>
<p>If the texture is already bound, it will return the current texture unit.</p>
<p>If the texture already exists in the current batch, the unit gets reset
to match it.</p>
<p>If the texture cannot be found in the current batch, and it supports
multiple textures, it's added into the batch and the unit indexes are
advanced.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">texture</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>The texture assigned to this batch entry.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.pushBatch</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96228</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="rebind"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>rebind</span><ahref="#rebind"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="rebind.rebind-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">rebind</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">currentShader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#rebind.rebind-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called every time the Pipeline Manager rebinds this pipeline.</p>
<p>It resets all shaders this pipeline uses, setting their attributes again.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">currentShader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set as being current.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.rebind</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96305</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="removeAllListeners"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Listeners</span><ahref="#removeAllListeners"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="removeAllListeners.removeAllListeners-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">remove<wbr/>All<wbr/>Listeners</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">event</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#removeAllListeners.removeAllListeners-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Remove all listeners, or those of the specified event.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">fn</span>: <spanclass="tsd-signature-type">Function</span></span><divclass="tsd-comment tsd-typography"><p>Only remove the listeners that match this function.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">context</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>Only remove the listeners that have this context.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.removeListener</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9968</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="resize"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>resize</span><ahref="#resize"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="resize.resize-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">resize</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">width</span>, <spanclass="tsd-kind-parameter">height</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#resize.resize-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Resizes the properties used to describe the viewport.</p>
<p>This method is called automatically by the renderer during its resize handler.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">width</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new width of this WebGL Pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">height</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new height of this WebGL Pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.resize</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96261</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="restoreContext"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>restore<wbr/>Context</span><ahref="#restoreContext"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="restoreContext.restoreContext-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">restore<wbr/>Context</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#restoreContext.restoreContext-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called if the WebGL context is lost and restored.
It ensures that uniforms are synced back to the GPU
for all shaders in this pipeline.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.restoreContext</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96312</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set1f"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set1f</span><ahref="#set1f"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set1f.set1f-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set1f</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set1f.set1f-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 1f uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new value of the <code>float</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set1f</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96663</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set1fv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set1fv</span><ahref="#set1fv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set1fv.set1fv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set1fv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set1fv.set1fv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 1fv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set1fv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96725</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set1i"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set1i</span><ahref="#set1i"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set1i.set1i-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set1i</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set1i.set1i-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 1i uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new value of the <code>int</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set1i</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96837</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set1iv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set1iv</span><ahref="#set1iv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set1iv.set1iv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set1iv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set1iv.set1iv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 1iv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set1iv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96781</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set2f"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set2f</span><ahref="#set2f"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set2f.set2f-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set2f</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set2f.set2f-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 2f uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new X component of the <code>vec2</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new Y component of the <code>vec2</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set2f</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96678</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set2fv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set2fv</span><ahref="#set2fv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set2fv.set2fv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set2fv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set2fv.set2fv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 2fv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set2fv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96739</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set2i"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set2i</span><ahref="#set2i"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set2i.set2i-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set2i</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set2i.set2i-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 2i uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new X component of the <code>ivec2</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new Y component of the <code>ivec2</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set2i</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96852</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set2iv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set2iv</span><ahref="#set2iv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set2iv.set2iv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set2iv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set2iv.set2iv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 2iv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set2iv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96795</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set3f"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set3f</span><ahref="#set3f"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set3f.set3f-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set3f</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">z</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set3f.set3f-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 3f uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new X component of the <code>vec3</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new Y component of the <code>vec3</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">z</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new Z component of the <code>vec3</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set3f</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96694</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set3fv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set3fv</span><ahref="#set3fv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set3fv.set3fv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set3fv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set3fv.set3fv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 3fv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set3fv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96753</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set3i"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set3i</span><ahref="#set3i"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set3i.set3i-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set3i</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">z</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set3i.set3i-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 3i uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new X component of the <code>ivec3</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new Y component of the <code>ivec3</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">z</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new Z component of the <code>ivec3</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set3i</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96868</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set3iv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set3iv</span><ahref="#set3iv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set3iv.set3iv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set3iv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set3iv.set3iv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 3iv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set3iv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96809</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set4f"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set4f</span><ahref="#set4f"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set4f.set4f-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set4f</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">z</span>, <spanclass="tsd-kind-parameter">w</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set4f.set4f-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 4f uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>X component of the uniform</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Y component of the uniform</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">z</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Z component of the uniform</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">w</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>W component of the uniform</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set4f</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96711</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set4fv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set4fv</span><ahref="#set4fv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set4fv.set4fv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set4fv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set4fv.set4fv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 4fv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set4fv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96767</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set4i"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set4i</span><ahref="#set4i"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set4i.set4i-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set4i</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">x</span>, <spanclass="tsd-kind-parameter">y</span>, <spanclass="tsd-kind-parameter">z</span>, <spanclass="tsd-kind-parameter">w</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set4i.set4i-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 4i uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">x</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>X component of the uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">y</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Y component of the uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">z</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Z component of the uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">w</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>W component of the uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set4i</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96885</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="set4iv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set4iv</span><ahref="#set4iv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="set4iv.set4iv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set4iv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">arr</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#set4iv.set4iv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a 4iv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">arr</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new value to be used for the uniform variable.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.set4iv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96823</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setBoolean"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Boolean</span><ahref="#setBoolean"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setBoolean.setBoolean-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Boolean</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">value</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setBoolean.setBoolean-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a boolean uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">value</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>The new value of the <code>boolean</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setBoolean</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96649</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setGameObject"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Game<wbr/>Object</span><ahref="#setGameObject"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setGameObject.setGameObject-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Game<wbr/>Object</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">gameObject</span>, <spanclass="tsd-kind-parameter">frame</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#setGameObject.setGameObject-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Custom pipelines can use this method in order to perform any required pre-batch tasks
for the given Game Object. It must return the texture unit the Game Object was assigned.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">gameObject</span>: <spanclass="tsd-signature-type">GameObject</span></span><divclass="tsd-comment tsd-typography"><p>The Game Object being rendered or added to the batch.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">frame</span>: <spanclass="tsd-signature-type">Frame</span></span><divclass="tsd-comment tsd-typography"><p>Optional frame to use. Can override that of the Game Object.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setGameObject</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96236</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setMatrix2fv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Matrix2fv</span><ahref="#setMatrix2fv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setMatrix2fv.setMatrix2fv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Matrix2fv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">transpose</span>, <spanclass="tsd-kind-parameter">matrix</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setMatrix2fv.setMatrix2fv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a matrix 2fv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">transpose</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether to transpose the matrix. Should be <code>false</code>.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">matrix</span>: <spanclass="tsd-signature-type">number</span><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol"> | </span><spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new values for the <code>mat2</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setMatrix2fv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96900</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setMatrix3fv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Matrix3fv</span><ahref="#setMatrix3fv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setMatrix3fv.setMatrix3fv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Matrix3fv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">transpose</span>, <spanclass="tsd-kind-parameter">matrix</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setMatrix3fv.setMatrix3fv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a matrix 3fv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">transpose</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether to transpose the matrix. Should be <code>false</code>.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">matrix</span>: <spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The new values for the <code>mat3</code> uniform.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setMatrix3fv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96915</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setMatrix4fv"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Matrix4fv</span><ahref="#setMatrix4fv"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setMatrix4fv.setMatrix4fv-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Matrix4fv</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">transpose</span>, <spanclass="tsd-kind-parameter">matrix</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setMatrix4fv.setMatrix4fv-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a matrix 4fv uniform value based on the given name on the currently set shader.</p>
<p>The current shader is bound, before the uniform is set, making it active within the
WebGLRenderer. This means you can safely call this method from a location such as
a Scene <code>create</code> or <code>update</code> method. However, when working within a Shader file
directly, use the <code>WebGLShader</code> method equivalent instead, to avoid the program
being set.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">transpose</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether to transpose the matrix. Should be <code>false</code>.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">matrix</span>: <spanclass="tsd-signature-type">Float32Array</span></span><divclass="tsd-comment tsd-typography"><p>The matrix data. If using a Matrix4 this should be the <code>Matrix4.val</code> property.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setMatrix4fv</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96930</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setProjectionMatrix"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Projection<wbr/>Matrix</span><ahref="#setProjectionMatrix"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setProjectionMatrix.setProjectionMatrix-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Projection<wbr/>Matrix</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">width</span>, <spanclass="tsd-kind-parameter">height</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setProjectionMatrix.setProjectionMatrix-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adjusts this pipelines ortho Projection Matrix to use the given dimensions
and resets the <code>uProjectionMatrix</code> uniform on all bound shaders.</p>
<p>This method is called automatically by the renderer during its resize handler.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">width</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new width of this WebGL Pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">height</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>The new height of this WebGL Pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setProjectionMatrix</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96271</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setShader"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Shader</span><ahref="#setShader"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setShader.setShader-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Shader</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">shader</span>, <spanclass="tsd-kind-parameter">setAttributes</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">vertexBuffer</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setShader.setShader-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets the currently active shader within this pipeline.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set as being current.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">setAttributes</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Should the vertex attribute pointers be set? Default false.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">vertexBuffer</span>: <spanclass="tsd-signature-type">WebGLBufferWrapper</span></span><divclass="tsd-comment tsd-typography"><p>The vertex buffer to be set before the shader is bound. Defaults to the one owned by this pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setShader</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96180</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setShadersFromConfig"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Shaders<wbr/>From<wbr/>Config</span><ahref="#setShadersFromConfig"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setShadersFromConfig.setShadersFromConfig-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Shaders<wbr/>From<wbr/>Config</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">config</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setShadersFromConfig.setShadersFromConfig-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Destroys all shaders currently set in the <code>WebGLPipeline.shaders</code> array and then parses the given
<code>config</code> object, extracting the shaders from it, creating <code>WebGLShader</code> instances and finally
setting them into the <code>shaders</code> array of this pipeline.</p>
<p>This is a destructive process. Be very careful when you call it, should you need to.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">config</span>: <spanclass="tsd-signature-type">WebGLPipelineConfig</span></span><divclass="tsd-comment tsd-typography"><p>The configuration object for this WebGL Pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setShadersFromConfig</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96196</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setTexture2D"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Texture2D</span><ahref="#setTexture2D"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setTexture2D.setTexture2D-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Texture2D</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">texture</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#setTexture2D.setTexture2D-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets the texture to be bound to the next available texture unit and returns
the unit id.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">texture</span>: <spanclass="tsd-signature-type">WebGLTextureWrapper</span></span><divclass="tsd-comment tsd-typography"><p>Texture that will be assigned to the current batch. If not given uses <code>whiteTexture</code>.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">number</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setTexture2D</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96611</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setTime"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Time</span><ahref="#setTime"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setTime.setTime-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Time</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span>, <spanclass="tsd-kind-parameter">shader</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">this</span><ahref="#setTime.setTime-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets the current duration into a 1f uniform value based on the given name.</p>
<p>This can be used for mapping time uniform values, such as <code>iTime</code>.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the uniform to set.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">shader</span>: <spanclass="tsd-signature-type">WebGLShader</span></span><divclass="tsd-comment tsd-typography"><p>The shader to set the value on. If not given, the <code>currentShader</code> is used.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">this</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setTime</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96635</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="setVertexBuffer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Vertex<wbr/>Buffer</span><ahref="#setVertexBuffer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="setVertexBuffer.setVertexBuffer-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Vertex<wbr/>Buffer</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">buffer</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#setVertexBuffer.setVertexBuffer-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Binds the vertex buffer to be the active ARRAY_BUFFER on the WebGL context.</p>
<p>It first checks to see if it's already set as the active buffer and only
binds itself if not.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">buffer</span>: <spanclass="tsd-signature-type">WebGLBufferWrapper</span></span><divclass="tsd-comment tsd-typography"><p>The Vertex Buffer to be bound. Defaults to the one owned by this pipeline.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.setVertexBuffer</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96321</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="shouldFlush"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>should<wbr/>Flush</span><ahref="#shouldFlush"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="shouldFlush.shouldFlush-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">should<wbr/>Flush</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">amount</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">boolean</span><ahref="#shouldFlush.shouldFlush-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Check if the current batch of vertices is full.</p>
<p>You can optionally provide an <code>amount</code> parameter. If given, it will check if the batch
needs to flush <em>if</em> the <code>amount</code> is added to it. This allows you to test if you should
flush before populating the batch.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag ts-flagOptional">Optional</code><spanclass="tsd-kind-parameter">amount</span>: <spanclass="tsd-signature-type">number</span></span><divclass="tsd-comment tsd-typography"><p>Will the batch need to flush if this many vertices are added to it? Default 0.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">boolean</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.shouldFlush</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96246</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="shutdown"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>shutdown</span><ahref="#shutdown"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="shutdown.shutdown-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">shutdown</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#shutdown.shutdown-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Removes all listeners.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.shutdown</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:9906</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="unbind"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>unbind</span><ahref="#unbind"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="unbind.unbind-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">unbind</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#unbind.unbind-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>This method is called every time the Pipeline Manager deactivates this pipeline, swapping from
it to another one. This happens after a call to <code>flush</code> and before the new pipeline is bound.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.unbind</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96365</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="updateProjectionMatrix"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>update<wbr/>Projection<wbr/>Matrix</span><ahref="#updateProjectionMatrix"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="updateProjectionMatrix.updateProjectionMatrix-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">update<wbr/>Projection<wbr/>Matrix</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#updateProjectionMatrix.updateProjectionMatrix-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Adjusts this pipelines ortho Projection Matrix to match that of the global
WebGL Renderer Projection Matrix.</p>
<p>This method is called automatically by the Pipeline Manager when this
pipeline is set.</p>
</div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><p>Inherited from Phaser.Renderer.WebGL.Pipelines.PostFXPipeline.updateProjectionMatrix</p><ul><li>Defined in node_modules/phaser/types/phaser.d.ts:96288</li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><aid="vertexAvailable"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>vertex<wbr/>Available</span><ahref="#vertexAvailable"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures tsd-is-inherited tsd-is-external"><liclass="tsd-signature tsd-anchor-link"><aid="vertexAvailable.vertexAvailable-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">vertex<wbr/>Available</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">number</span><ahref="#vertexAvailable.vertexAvailable-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns the number of vertices that can be added to the current batch before