GPUDeviceDescriptor¶
interface GPUDeviceDescriptor : GPUObjectDescriptorBase
Properties¶
defaultQueue¶
abstract val defaultQueue: GPUQueueDescriptor
The descriptor for the default GPUQueue.
See [GPUDeviceDescriptor.defaultQueue in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpudevicedescriptor-defaultqueue).
label¶
The initial value of GPUObjectBase.label.
See [GPUObjectDescriptorBase.label in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuobjectdescriptorbase-label).
onUncapturedError¶
abstract val onUncapturedError: GPUUncapturedErrorCallback?
Callback invoked for errors that are not captured by an error scope.
requiredFeatures¶
abstract val requiredFeatures: List<GPUFeatureName>
Specifies the features that are required by the device request. The request will fail if the adapter cannot provide these features. Exactly the specified set of features, and no more or less, will be allowed in validation of API calls on the resulting device.
requiredLimits¶
abstract val requiredLimits: GPURequiredLimits?
Specifies the limits that are required by the device request. The request will fail if the adapter cannot provide these limits. Each key with a non-undefined value must be the name of a member of supported limits.