Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Core.Config
<constant, nullable> context: CanvasRenderingContext2D | WebGLRenderingContext
Description:
Force Phaser to use your own Canvas context instead of creating one.
Type:
CanvasRenderingContext2D | WebGLRenderingContext
Since:
3.0.0
Source:
src/core/Config.js
(Line
144
)
Possible examples