Module device

Module device 

Source

Structs§

Device
Open connection to a graphics and/or compute device.
ErrorScopeGuard
Guard for an error scope pushed with Device::push_error_scope().
RequestDeviceError
Requesting a device from an Adapter failed.

Enums§

Error
Errors resulting from usage of GPU APIs.
ErrorFilter
Kinds of Errors a push_error_scope may be configured to catch.
ErrorType
A classification of WebGPU error for implementers of the WebGPU API to use in their own error layer(s).
RequestDeviceErrorKind 🔒

Traits§

UncapturedErrorHandler
The callback of uncaptured_error
WebGpuError
A trait for querying the ErrorType classification of an error.

Type Aliases§

DeviceDescriptor
Describes a Device.
ErrorSourceNon-target_family=wasm, or fragile-send-sync-non-atomic-wasm and non-atomics
Lower level source of the error.
QueueDescriptor
Describes a Queue.