GPUDeviceLostInfo

The GPUDeviceLostInfo interface of the WebGPU API represents the object returned when the GPUDevice.lost Promise resolves. This provides information as to why a device has been lost. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard

The message read-only property of the GPUDeviceLostInfo interface provides a human-readable message that explains why the device was lost.

Link copied to clipboard

The reason read-only property of the GPUDeviceLostInfo interface defines the reason the device was lost in a machine-readable way.