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.
Properties
message
readonly message: string;
The message read-only property of the GPUDeviceLostInfo interface provides a human-readable message that explains why the device was lost.
reason
readonly reason: GPUDeviceLostReason;
The reason read-only property of the GPUDeviceLostInfo interface defines the reason the device was lost in a machine-readable way.