GPUDeviceDescriptor

  • label: USVString
  • requiredFeatures: sequence<GPUFeatureName>= []

    GPUFeatureName

    'depth-clip-control', 'depth32float-stencil8', 'texture-compression-bc', 'texture-compression-etc2', 'texture-compression-astc', 'timestamp-query', 'indirect-first-instance', 'shader-f16', 'bgra8unorm-storage', 'rg11b10ufloat-renderable'
  • requiredLimits: record<DOMString, GPUSize64>= { … }

    GPUSize64

    typedef GPUSize64 = unsigned long long
  • defaultQueue: GPUQueueDescriptor= { … }

    GPUQueueDescriptor

    • label: USVString