GPUDeviceDescriptor constructor

GPUDeviceDescriptor({
  1. Iterable<GPUFeatureName>? requiredFeatures,
  2. dynamic requiredLimits,
  3. GPUQueueDescriptor? defaultQueue,
})

Implementation

factory GPUDeviceDescriptor(
        {Iterable<GPUFeatureName>? requiredFeatures,
        dynamic requiredLimits,
        GPUQueueDescriptor? defaultQueue}) =>
    GPUDeviceDescriptor._(
        requiredFeatures: requiredFeatures?.map((e) => e.value) ?? const [],
        requiredLimits: requiredLimits ?? undefined,
        defaultQueue: defaultQueue ?? undefined);