GPUDeviceLostInfo: message property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("WebGPU API")}}{{SecureContext_Header}}{{AvailableInWorkers}}
The **message** read-only property of the {{domxref("GPUDeviceLostInfo")}} interface provides a human-readable message that explains why the device was lost.
Value
A string.
Examples
See the main [GPUDevice.lost page](/en-US/docs/Web/API/GPUDevice/lost#examples) for an example.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- The WebGPU API