destroy

external fun destroy()(source)

The destroy() method of the GPUDevice interface destroys the device, preventing further operations on it.

MDN Reference