GPUDevice: thuộc tính lost
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
Note: This feature is available in Web Workers.
Thuộc tính chỉ đọc lost của giao diện GPUDevice chứa một Promise luôn ở trạng thái chờ trong suốt vòng đời của thiết bị và được giải quyết bằng một đối tượng GPUDeviceLostInfo khi thiết bị bị mất.
Giá trị
Một Promise.
Đặc tả
| Specification |
|---|
| WebGPU> # dom-gpudevice-lost> |