destroy

external fun destroy()(source)

The destroy() method of the GPUTexture interface destroys the GPUTexture.

MDN Reference