Enum WebGPUEnvironmentError
- Namespace
- SixLabors.ImageSharp.Drawing.Processing.Backends
- Assembly
- SixLabors.ImageSharp.Drawing.WebGPU.dll
Error codes returned by WebGPUEnvironment probe methods.
public enum WebGPUEnvironmentError
Fields
AdapterRequestFailed = 4The runtime failed to acquire a WebGPU adapter.
AdapterRequestTimedOut = 3The adapter request callback did not complete before the timeout expired.
ApiInitializationFailed = 1The shared WebGPU API loader or required extension could not be initialized.
ComputePipelineCreationFailed = 9The isolated compute-pipeline probe ran to completion and reported that compute pipeline creation failed.
ComputePipelineProbeProcessFailed = 10The isolated compute-pipeline probe process terminated before it could report a normal result.
DeviceAcquisitionFailed = 8The runtime could not provision the shared device/queue pair for an unspecified reason.
DeviceRequestFailed = 6The runtime failed to acquire a WebGPU device.
DeviceRequestTimedOut = 5The device request callback did not complete before the timeout expired.
InstanceCreationFailed = 2The runtime could not create a WebGPU instance.
QueueAcquisitionFailed = 7The runtime acquired a device but could not retrieve its default queue.
Success = 0The probe succeeded.
Remarks
Success is the only successful result. All other values describe one stable failure case that callers can branch on without parsing diagnostic strings.