destroy

external fun destroy()(source)

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

MDN Reference