Phaser API Documentation

  Version: 
renderWebGL(renderer, src, camera, parentMatrix)

Description:

Renders this Dynamic Texture onto the Stamp Game Object as a BitmapMask.

Parameters:

name type description
renderer Phaser.Renderer.WebGL.WebGLRenderer

A reference to the current active WebGL renderer.

src Phaser.GameObjects.Image

The Game Object being rendered in this call.

camera Phaser.Cameras.Scene2D.Camera

The Camera that is rendering the Game Object.

parentMatrix Phaser.GameObjects.Components.TransformMatrix

This transform matrix is defined if the game object is nested

Since: 3.60.0