Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Textures.CanvasTexture
destroy()
Description:
Destroys this Texture and releases references to its sources and frames.
Overrides:
Phaser.Textures.Texture#destroy
Since:
3.16.0
Source:
src/textures/CanvasTexture.js
(Line
626
)
Possible examples