Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.Shader
renderer:
Phaser.Renderer.Canvas.CanvasRenderer
|
Phaser.Renderer.WebGL.WebGLRenderer
Description:
A reference to the current renderer. Shaders only work with the WebGL Renderer.
Type:
Phaser.Renderer.Canvas.CanvasRenderer
|
Phaser.Renderer.WebGL.WebGLRenderer
Since:
3.17.0
Source:
src/gameobjects/shader/Shader.js
(Line
131
)
Possible examples