Interface GPUDeviceDescriptor
interface GPUDeviceDescriptor {
defaultQueue?: GPUObjectDescriptorBase;
label?: string;
requiredFeatures?: Iterable<GPUFeatureName, any, any>;
requiredLimits?: Record<string, number>;
}
defaultQueue?: GPUObjectDescriptorBase;
label?: string;
requiredFeatures?: Iterable<GPUFeatureName, any, any>;
requiredLimits?: Record<string, number>;
}
Hierarchy
- GPUObjectDescriptorBase
- GPUDeviceDescriptor (view full)
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 must be the name of a member of supported limits. Exactly the specified limits, and no limit/better or worse, will be allowed in validation of API calls on the resulting device.
The descriptor for the default GPUQueue.