Table of Contents

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 = 4

The runtime failed to acquire a WebGPU adapter.

AdapterRequestTimedOut = 3

The adapter request callback did not complete before the timeout expired.

ApiInitializationFailed = 1

The shared WebGPU API loader or required extension could not be initialized.

ComputePipelineCreationFailed = 9

The isolated compute-pipeline probe ran to completion and reported that compute pipeline creation failed.

ComputePipelineProbeProcessFailed = 10

The isolated compute-pipeline probe process terminated before it could report a normal result.

DeviceAcquisitionFailed = 8

The runtime could not provision the shared device/queue pair for an unspecified reason.

DeviceRequestFailed = 6

The runtime failed to acquire a WebGPU device.

DeviceRequestTimedOut = 5

The device request callback did not complete before the timeout expired.

InstanceCreationFailed = 2

The runtime could not create a WebGPU instance.

QueueAcquisitionFailed = 7

The runtime acquired a device but could not retrieve its default queue.

Success = 0

The 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.