@types/web 0.0.335 → 0.0.337

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ts5.5/index.d.ts CHANGED
@@ -815,6 +815,20 @@ interface GPUBindGroupEntry {
815
815
  resource: GPUBindingResource;
816
816
  }
817
817
 
818
+ interface GPUBindGroupLayoutDescriptor extends GPUObjectDescriptorBase {
819
+ entries: GPUBindGroupLayoutEntry[];
820
+ }
821
+
822
+ interface GPUBindGroupLayoutEntry {
823
+ binding: GPUIndex32;
824
+ buffer?: GPUBufferBindingLayout;
825
+ externalTexture?: GPUExternalTextureBindingLayout;
826
+ sampler?: GPUSamplerBindingLayout;
827
+ storageTexture?: GPUStorageTextureBindingLayout;
828
+ texture?: GPUTextureBindingLayout;
829
+ visibility: GPUShaderStageFlags;
830
+ }
831
+
818
832
  interface GPUBlendComponent {
819
833
  dstFactor?: GPUBlendFactor;
820
834
  operation?: GPUBlendOperation;
@@ -832,6 +846,12 @@ interface GPUBufferBinding {
832
846
  size?: GPUSize64;
833
847
  }
834
848
 
849
+ interface GPUBufferBindingLayout {
850
+ hasDynamicOffset?: boolean;
851
+ minBindingSize?: GPUSize64;
852
+ type?: GPUBufferBindingType;
853
+ }
854
+
835
855
  interface GPUBufferDescriptor extends GPUObjectDescriptorBase {
836
856
  mappedAtCreation?: boolean;
837
857
  size: GPUSize64;
@@ -909,12 +929,21 @@ interface GPUDepthStencilState {
909
929
  stencilWriteMask?: GPUStencilValue;
910
930
  }
911
931
 
932
+ interface GPUDeviceDescriptor extends GPUObjectDescriptorBase {
933
+ defaultQueue?: GPUQueueDescriptor;
934
+ requiredFeatures?: GPUFeatureName[];
935
+ requiredLimits?: Record<string, GPUSize64 | undefined>;
936
+ }
937
+
912
938
  interface GPUExtent3DDict {
913
939
  depthOrArrayLayers?: GPUIntegerCoordinate;
914
940
  height?: GPUIntegerCoordinate;
915
941
  width: GPUIntegerCoordinate;
916
942
  }
917
943
 
944
+ interface GPUExternalTextureBindingLayout {
945
+ }
946
+
918
947
  interface GPUExternalTextureDescriptor extends GPUObjectDescriptorBase {
919
948
  colorSpace?: PredefinedColorSpace;
920
949
  source: HTMLVideoElement | VideoFrame;
@@ -976,6 +1005,9 @@ interface GPUQuerySetDescriptor extends GPUObjectDescriptorBase {
976
1005
  type: GPUQueryType;
977
1006
  }
978
1007
 
1008
+ interface GPUQueueDescriptor extends GPUObjectDescriptorBase {
1009
+ }
1010
+
979
1011
  interface GPURenderBundleDescriptor extends GPUObjectDescriptorBase {
980
1012
  }
981
1013
 
@@ -1033,6 +1065,15 @@ interface GPURenderPipelineDescriptor extends GPUPipelineDescriptorBase {
1033
1065
  vertex: GPUVertexState;
1034
1066
  }
1035
1067
 
1068
+ interface GPURequestAdapterOptions {
1069
+ forceFallbackAdapter?: boolean;
1070
+ powerPreference?: GPUPowerPreference;
1071
+ }
1072
+
1073
+ interface GPUSamplerBindingLayout {
1074
+ type?: GPUSamplerBindingType;
1075
+ }
1076
+
1036
1077
  interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
1037
1078
  addressModeU?: GPUAddressMode;
1038
1079
  addressModeV?: GPUAddressMode;
@@ -1057,6 +1098,12 @@ interface GPUStencilFaceState {
1057
1098
  passOp?: GPUStencilOperation;
1058
1099
  }
1059
1100
 
1101
+ interface GPUStorageTextureBindingLayout {
1102
+ access?: GPUStorageTextureAccess;
1103
+ format: GPUTextureFormat;
1104
+ viewDimension?: GPUTextureViewDimension;
1105
+ }
1106
+
1060
1107
  interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
1061
1108
  buffer: GPUBuffer;
1062
1109
  }
@@ -1074,6 +1121,12 @@ interface GPUTexelCopyTextureInfo {
1074
1121
  texture: GPUTexture;
1075
1122
  }
1076
1123
 
1124
+ interface GPUTextureBindingLayout {
1125
+ multisampled?: boolean;
1126
+ sampleType?: GPUTextureSampleType;
1127
+ viewDimension?: GPUTextureViewDimension;
1128
+ }
1129
+
1077
1130
  interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
1078
1131
  dimension?: GPUTextureDimension;
1079
1132
  format: GPUTextureFormat;
@@ -5304,13 +5357,13 @@ declare var CSSFontFaceRule: {
5304
5357
  };
5305
5358
 
5306
5359
  /**
5307
- * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule, letting developers assign for each font face a common name to specify features indices to be used in font-variant-alternates.
5360
+ * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMapinterface.
5308
5361
  *
5309
5362
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
5310
5363
  */
5311
5364
  interface CSSFontFeatureValuesRule extends CSSRule {
5312
5365
  /**
5313
- * The **`fontFamily`** property of the CSSConditionRule interface represents the name of the font family it applies to.
5366
+ * The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
5314
5367
  *
5315
5368
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
5316
5369
  */
@@ -6755,6 +6808,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6755
6808
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
6756
6809
  */
6757
6810
  backgroundSize: string;
6811
+ /** The baseline-shift CSS property repositions the dominant-baseline of a text element relative to the dominant-baseline of its parent text content element. The shifted element might be a sub- or superscript. If the property is present, the value overrides the element's baseline-shift attribute. */
6758
6812
  baselineShift: string;
6759
6813
  /**
6760
6814
  * The baseline-source CSS property defines which baseline to use when inline-level boxes have multiple possible baselines, such as multi-line inline blocks or inline flex containers. The values allow for choosing between aligning to the box's first baseline, last baseline, or letting the browser decide automatically based on the box type.
@@ -11169,6 +11223,7 @@ interface CustomElementRegistry {
11169
11223
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
11170
11224
  */
11171
11225
  getName(constructor: CustomElementConstructor): string | null;
11226
+ initialize(root: Node): void;
11172
11227
  /**
11173
11228
  * The **`upgrade()`** method of the CustomElementRegistry interface upgrades all shadow-containing custom elements in a Node subtree, even before they are connected to the main document.
11174
11229
  *
@@ -13166,6 +13221,7 @@ interface DocumentOrShadowRoot {
13166
13221
  readonly activeElement: Element | null;
13167
13222
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */
13168
13223
  adoptedStyleSheets: CSSStyleSheet[];
13224
+ readonly customElementRegistry: CustomElementRegistry | null;
13169
13225
  /**
13170
13226
  * Returns document's fullscreen element.
13171
13227
  *
@@ -13474,6 +13530,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13474
13530
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
13475
13531
  */
13476
13532
  readonly currentCSSZoom: number;
13533
+ readonly customElementRegistry: CustomElementRegistry | null;
13477
13534
  /**
13478
13535
  * The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
13479
13536
  *
@@ -15030,6 +15087,76 @@ declare var FragmentDirective: {
15030
15087
  new(): FragmentDirective;
15031
15088
  };
15032
15089
 
15090
+ /**
15091
+ * The **`GPU`** interface of the WebGPU API is the starting point for using WebGPU. It can be used to return a GPUAdapter from which you can request devices, configure features and limits, and more.
15092
+ * Available only in secure contexts.
15093
+ *
15094
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
15095
+ */
15096
+ interface GPU {
15097
+ /**
15098
+ * The **`wgslLanguageFeatures`** read-only property of the GPU interface returns a WGSLLanguageFeatures object that reports the WGSL language extensions supported by the WebGPU implementation.
15099
+ *
15100
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures)
15101
+ */
15102
+ readonly wgslLanguageFeatures: WGSLLanguageFeatures;
15103
+ /**
15104
+ * The **`getPreferredCanvasFormat()`** method of the GPU interface returns the optimal canvas texture format for displaying 8-bit depth, standard dynamic range content on the current system.
15105
+ *
15106
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat)
15107
+ */
15108
+ getPreferredCanvasFormat(): GPUTextureFormat;
15109
+ /**
15110
+ * The **`requestAdapter()`** method of the GPU interface returns a Promise that fulfills with a GPUAdapter object instance. From this you can request a GPUDevice, adapter info, features, and limits.
15111
+ *
15112
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter)
15113
+ */
15114
+ requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
15115
+ }
15116
+
15117
+ declare var GPU: {
15118
+ prototype: GPU;
15119
+ new(): GPU;
15120
+ };
15121
+
15122
+ /**
15123
+ * The **`GPUAdapter`** interface of the WebGPU API represents a GPU adapter. From this you can request a GPUDevice, adapter info, features, and limits.
15124
+ * Available only in secure contexts.
15125
+ *
15126
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
15127
+ */
15128
+ interface GPUAdapter {
15129
+ /**
15130
+ * The **`features`** read-only property of the GPUAdapter interface returns a GPUSupportedFeatures object that describes additional functionality supported by the adapter.
15131
+ *
15132
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features)
15133
+ */
15134
+ readonly features: GPUSupportedFeatures;
15135
+ /**
15136
+ * The **`info`** read-only property of the GPUAdapter interface returns a GPUAdapterInfo object containing identifying information about the adapter.
15137
+ *
15138
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info)
15139
+ */
15140
+ readonly info: GPUAdapterInfo;
15141
+ /**
15142
+ * The **`limits`** read-only property of the GPUAdapter interface returns a GPUSupportedLimits object that describes the limits supported by the adapter.
15143
+ *
15144
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits)
15145
+ */
15146
+ readonly limits: GPUSupportedLimits;
15147
+ /**
15148
+ * The **`requestDevice()`** method of the GPUAdapter interface returns a Promise that fulfills with a GPUDevice object, which is the primary interface for communicating with the GPU.
15149
+ *
15150
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice)
15151
+ */
15152
+ requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
15153
+ }
15154
+
15155
+ declare var GPUAdapter: {
15156
+ prototype: GPUAdapter;
15157
+ new(): GPUAdapter;
15158
+ };
15159
+
15033
15160
  /**
15034
15161
  * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
15035
15162
  * Available only in secure contexts.
@@ -15483,6 +15610,12 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
15483
15610
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup)
15484
15611
  */
15485
15612
  createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
15613
+ /**
15614
+ * The **`createBindGroupLayout()`** method of the GPUDevice interface creates a GPUBindGroupLayout that defines the structure and purpose of related GPU resources such as buffers that will be used in a pipeline, and is used as a template when creating GPUBindGroups.
15615
+ *
15616
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout)
15617
+ */
15618
+ createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
15486
15619
  /**
15487
15620
  * The **`createBuffer()`** method of the GPUDevice interface creates a GPUBuffer in which to store raw data to use in GPU operations.
15488
15621
  *
@@ -21150,6 +21283,7 @@ interface HTMLTemplateElement extends HTMLElement {
21150
21283
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21151
21284
  */
21152
21285
  shadowRootClonable: boolean;
21286
+ shadowRootCustomElementRegistry: string;
21153
21287
  /**
21154
21288
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
21155
21289
  *
@@ -25512,6 +25646,12 @@ declare var NavigationHistoryEntry: {
25512
25646
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController)
25513
25647
  */
25514
25648
  interface NavigationPrecommitController {
25649
+ /**
25650
+ * The **`addHandler()`** method of the NavigationPrecommitController interface allows you to dynamically add a handler callback function in precommit code, which will then be run after the navigation has committed.
25651
+ *
25652
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController/addHandler)
25653
+ */
25654
+ addHandler(handler: NavigationInterceptHandler): void;
25515
25655
  /**
25516
25656
  * The **`redirect()`** method of the NavigationPrecommitController interface redirects the browser to a specified URL and specifies history behavior and any desired state information.
25517
25657
  *
@@ -25600,7 +25740,7 @@ declare var NavigationTransition: {
25600
25740
  *
25601
25741
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
25602
25742
  */
25603
- interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
25743
+ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorGPU, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
25604
25744
  /**
25605
25745
  * The **`clipboard`** read-only property of the Navigator interface returns a Clipboard object used to read and write the clipboard's contents.
25606
25746
  * Available only in secure contexts.
@@ -25765,6 +25905,15 @@ interface NavigatorCookies {
25765
25905
  readonly cookieEnabled: boolean;
25766
25906
  }
25767
25907
 
25908
+ interface NavigatorGPU {
25909
+ /**
25910
+ * Available only in secure contexts.
25911
+ *
25912
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
25913
+ */
25914
+ readonly gpu: GPU;
25915
+ }
25916
+
25768
25917
  interface NavigatorID {
25769
25918
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
25770
25919
  readonly appCodeName: string;
@@ -35151,7 +35300,7 @@ declare var ShadowRoot: {
35151
35300
  };
35152
35301
 
35153
35302
  /**
35154
- * The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as several windows, iframes or even workers. They implement an interface different than dedicated workers and have a different global scope, SharedWorkerGlobalScope.
35303
+ * The **`SharedWorker`** interface represents a specific kind of worker that can be accessed from several browsing contexts, such as multiple windows or iframes. Shared workers implement a different interface than dedicated workers, have a different global scope (SharedWorkerGlobalScope), and their constructor is not exposed in DedicatedWorkerGlobalScope, so they cannot be instantiated from dedicated workers.
35155
35304
  *
35156
35305
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
35157
35306
  */
@@ -44000,6 +44149,7 @@ type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
44000
44149
  type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
44001
44150
  type GPUPipelineConstantValue = number;
44002
44151
  type GPUSampleMask = number;
44152
+ type GPUShaderStageFlags = number;
44003
44153
  type GPUSignedOffset32 = number;
44004
44154
  type GPUSize32 = number;
44005
44155
  type GPUSize32Out = number;
@@ -44117,6 +44267,7 @@ type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
44117
44267
  type GPUAutoLayoutMode = "auto";
44118
44268
  type GPUBlendFactor = "constant" | "dst" | "dst-alpha" | "one" | "one-minus-constant" | "one-minus-dst" | "one-minus-dst-alpha" | "one-minus-src" | "one-minus-src-alpha" | "src" | "src-alpha" | "src-alpha-saturated" | "zero";
44119
44269
  type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
44270
+ type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
44120
44271
  type GPUBufferMapState = "mapped" | "pending" | "unmapped";
44121
44272
  type GPUCanvasAlphaMode = "opaque" | "premultiplied";
44122
44273
  type GPUCanvasToneMappingMode = "extended" | "standard";
@@ -44125,19 +44276,24 @@ type GPUCompilationMessageType = "error" | "info" | "warning";
44125
44276
  type GPUCullMode = "back" | "front" | "none";
44126
44277
  type GPUDeviceLostReason = "destroyed" | "unknown";
44127
44278
  type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
44279
+ type GPUFeatureName = "bgra8unorm-storage" | "clip-distances" | "core-features-and-limits" | "depth-clip-control" | "depth32float-stencil8" | "dual-source-blending" | "float32-blendable" | "float32-filterable" | "indirect-first-instance" | "primitive-index" | "rg11b10ufloat-renderable" | "shader-f16" | "subgroups" | "texture-compression-astc" | "texture-compression-astc-sliced-3d" | "texture-compression-bc" | "texture-compression-bc-sliced-3d" | "texture-compression-etc2" | "texture-formats-tier1" | "timestamp-query";
44128
44280
  type GPUFilterMode = "linear" | "nearest";
44129
44281
  type GPUFrontFace = "ccw" | "cw";
44130
44282
  type GPUIndexFormat = "uint16" | "uint32";
44131
44283
  type GPULoadOp = "clear" | "load";
44132
44284
  type GPUMipmapFilterMode = "linear" | "nearest";
44133
44285
  type GPUPipelineErrorReason = "internal" | "validation";
44286
+ type GPUPowerPreference = "high-performance" | "low-power";
44134
44287
  type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
44135
44288
  type GPUQueryType = "occlusion" | "timestamp";
44289
+ type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
44136
44290
  type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
44291
+ type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
44137
44292
  type GPUStoreOp = "discard" | "store";
44138
44293
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
44139
44294
  type GPUTextureDimension = "1d" | "2d" | "3d";
44140
44295
  type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
44296
+ type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
44141
44297
  type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
44142
44298
  type GPUVertexFormat = "float16" | "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8" | "sint8x2" | "sint8x4" | "snorm16" | "snorm16x2" | "snorm16x4" | "snorm8" | "snorm8x2" | "snorm8x4" | "uint16" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16" | "unorm16x2" | "unorm16x4" | "unorm8" | "unorm8x2" | "unorm8x4" | "unorm8x4-bgra";
44143
44299
  type GPUVertexStepMode = "instance" | "vertex";