Phaser API Documentation

  Version: 
<nullable> glTexture: WebGLTexture

Description:

A reference to the WebGLTexture this Shader is rendering to. This property is only set if you have called Shader.setRenderToTexture.

Type:
WebGLTexture
Since: 3.19.0