Interface GPUDeviceDescriptor
interface GPUDeviceDescriptor {
defaultQueue?: GPUObjectDescriptorBase;
label?: string;
requiredFeatures?: Iterable<GPUFeatureName>;
requiredLimits?: Record<string, number>;
}
defaultQueue?: GPUObjectDescriptorBase;
label?: string;
requiredFeatures?: Iterable<GPUFeatureName>;
requiredLimits?: Record<string, number>;
}
Hierarchy
- GPUObjectDescriptorBase
- GPUDeviceDescriptor (View Summary)
Index
Properties
Properties
Optional
defaultQueue
Optional
label
label?: string
The initial value of GPUObjectBase.label.
Optional
requiredFeatures
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.
Optional
requiredLimits
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.
API calls on the resulting device perform validation according to the exact limits of the
device (not the adapter; see [[#limits]]).
The descriptor for the default GPUQueue.