Phaser API Documentation

  Version: 
hasExtension(extensionName)

Description:

Checks if a WebGL extension is supported

Parameters:

name type description
extensionName string

Name of the WebGL extension

Returns:
Description:

true if the extension is supported, otherwise false.

Type:
  • boolean
Examples:
Since: 3.0.0