Phaser API Documentation

  Version: 
getShaderByName(name)

Description:

Searches all shaders in this pipeline for one matching the given name, then returns it.

Parameters:

name type description
name string

The index of the shader to set.

Returns:
Description:

The WebGLShader instance, if found.

Since: 3.50.0