Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for GPUDeviceLostInfo.
Developer library 6
WebGPU API
ems with shader code. - GPUCompilationMessage - : Represents a single informational, warning, or error message generated by the GPU shader module compiler. - GPUDeviceLostInfo - : Returned when the GPUDevice.lost Promise resolves, providing information as to why the device was lost. - GPUError - : The base interface for errors surfaced by GPUDevice.popErrorScope and the uncapturederror event. - GPUInternalError
GPUDevice
that describes the limits supported by the device. - lost - : Contains a Promise that remains pending throughout the device's lifetime and resolves with a GPUDeviceLostInfo object when the device is lost. - queue - : Returns the primary GPUQueue for the device. ## Instance methods _Inherits methods from its parent, EventTarget._ - createBindGroup() - : Creates a GPUBindGroup based on a GPUBindGroupLayou
GPUDevice: lost property
API The **`lost`** read-only property of the GPUDevice interface contains a Promise that remains pending throughout the device's lifetime and resolves with a GPUDeviceLostInfo object when the device is lost. GPUAdapter.requestDevice() will never return `null`, and it will reject only if the request is invalid, i.e., it exceeds the capabilities of the GPUAdapter. If a valid device request can't be fulfilled for som
GPUDeviceLostInfo
WebGPU API 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. See the GPUDevice.lost page for more information about "lost" state. ## Instance properties - message - : A string providing a human-readable message that explains why the device was lost. - reason - : An enu
GPUDeviceLostInfo: reason property
WebGPU API The **`reason`** read-only property of the GPUDeviceLostInfo interface defines the reason the device was lost in a machine-readable way. ## Value An enumerated value. At the moment the only value defined in the spec is `"destroyed"`, which indicates that the device was destroyed by a call to GPUDevice.destroy(). If the device was lost because of an unknown reason not covered in the available enumerated
GPUDeviceLostInfo: message property
WebGPU API The **`message`** read-only property of the GPUDeviceLostInfo interface provides a human-readable message that explains why the device was lost. ## Value A string. ## Examples See the main [`GPUDevice.lost` page](/docs/Web/API/GPUDevice/lost#examples) for an example. ## Specifications ## Browser compatibility ## See also - The [WebGPU API](/docs/Web/API/WebGPU_API)