Phaser API Documentation

  Version: 
getExtension(extensionName)

Description:

Loads a WebGL extension

Parameters:

name type description
extensionName string

The name of the extension to load.

Returns:
Description:

WebGL extension if the extension is supported

Type:
  • object
Examples:
Since: 3.0.0