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 could not be initialized.
ComputePipelineCreationFailed = 10The isolated compute-pipeline probe ran to completion and reported that compute pipeline creation failed.
ComputePipelineProbeProcessFailed = 11The isolated compute-pipeline probe process terminated before it could report a normal result.
DeviceAcquisitionFailed = 9The runtime could not provision the shared device/queue pair for an unspecified reason.
DeviceRequestFailed = 7The runtime failed to acquire a WebGPU device.
DeviceRequestTimedOut = 6The device request callback did not complete before the timeout expired.
The DirectX Shader Compiler required by the Windows WebGPU backend is unavailable.
InstanceCreationFailed = 2The runtime could not create a WebGPU instance.
QueueAcquisitionFailed = 8The runtime acquired a device but could not retrieve its default queue.
SoftwareAdapterUnsupported = 5The only available adapter is a software rasterizer. Software adapters are not supported by this backend; the CPU drawing backend serves GPU-less environments instead.
Success = 0The probe succeeded.
The required WGPU extension is unavailable.
Remarks
Success is the only successful result. All other values describe one stable failure case that callers can branch on without parsing diagnostic strings.