Phaser API Documentation

  Version: 
setUtility([currentShader])

Description:

Sets the Utility Pipeline to be the currently bound pipeline.

Parameters:

name type arguments description
currentShader Phaser.Renderer.WebGL.WebGLShader <optional>

The shader to set as being current.

Returns:
Description:

The Utility Pipeline instance.

Since: 3.50.0