Phaser API Documentation

  Version: 
getShaderName(headerSource)

Description:

Returns the name of the shader from the header block.

Parameters:

name type description
headerSource Array.<string>

The header data.

Returns:
Description:

The shader name.

Type:
  • string
Since: 3.17.0