Phaser API Documentation

  Version: 
update()

Description:

This re-creates the imageData from the current context. It then re-builds the ArrayBuffer, the data Uint8ClampedArray reference and the pixels Int32Array.

Warning: This is a very expensive operation, so use it sparingly.

Returns:
Description:

This CanvasTexture.

Since: 3.13.0