Phaser API Documentation

  Version: 
init(config)

Description:

Creates a new WebGLRenderingContext and initializes all internal state.

Parameters:

name type description
config object

The configuration object for the renderer.

Returns:
Description:

This WebGLRenderer instance.

Examples:
Since: 3.0.0