Phaser API Documentation

  Version: 
destroy()

Description:

Destroys this Texture and releases references to its sources and frames.

Examples:
Since: 3.16.0