Phaser API Documentation

  Version: 
destroy()

Description:

Removes all external references from this class and deletes the WebGL program from the WebGL context.

Does not remove this shader from the parent pipeline.

Since: 3.50.0