Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Game
renderer:
Phaser.Renderer.Canvas.CanvasRenderer
|
Phaser.Renderer.WebGL.WebGLRenderer
Description:
A reference to either the Canvas or WebGL Renderer that this Game is using.
Type:
Phaser.Renderer.Canvas.CanvasRenderer
|
Phaser.Renderer.WebGL.WebGLRenderer
Since:
3.0.0
Source:
src/core/Game.js
(Line
80
)
Possible examples