For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface 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

interface GPUDeviceLostInfo {
    message: string;
    reason: GPUDeviceLostReason;
}
Index
message: string

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

MDN Reference

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

MDN Reference

Was this helpful?