@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.6/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;
@@ -5305,13 +5358,13 @@ declare var CSSFontFaceRule: {
5305
5358
  };
5306
5359
 
5307
5360
  /**
5308
- * 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.
5361
+ * The **`CSSFontFeatureValuesRule`** interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMapinterface.
5309
5362
  *
5310
5363
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule)
5311
5364
  */
5312
5365
  interface CSSFontFeatureValuesRule extends CSSRule {
5313
5366
  /**
5314
- * The **`fontFamily`** property of the CSSConditionRule interface represents the name of the font family it applies to.
5367
+ * The **`fontFamily`** property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.
5315
5368
  *
5316
5369
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSFontFeatureValuesRule/fontFamily)
5317
5370
  */
@@ -6762,6 +6815,7 @@ interface CSSStyleProperties extends CSSStyleDeclarationBase {
6762
6815
  * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/Reference/Properties/background-size)
6763
6816
  */
6764
6817
  backgroundSize: string;
6818
+ /** 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. */
6765
6819
  baselineShift: string;
6766
6820
  /**
6767
6821
  * 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.
@@ -11177,6 +11231,7 @@ interface CustomElementRegistry {
11177
11231
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName)
11178
11232
  */
11179
11233
  getName(constructor: CustomElementConstructor): string | null;
11234
+ initialize(root: Node): void;
11180
11235
  /**
11181
11236
  * 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.
11182
11237
  *
@@ -13174,6 +13229,7 @@ interface DocumentOrShadowRoot {
13174
13229
  readonly activeElement: Element | null;
13175
13230
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/adoptedStyleSheets) */
13176
13231
  adoptedStyleSheets: CSSStyleSheet[];
13232
+ readonly customElementRegistry: CustomElementRegistry | null;
13177
13233
  /**
13178
13234
  * Returns document's fullscreen element.
13179
13235
  *
@@ -13483,6 +13539,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
13483
13539
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/currentCSSZoom)
13484
13540
  */
13485
13541
  readonly currentCSSZoom: number;
13542
+ readonly customElementRegistry: CustomElementRegistry | null;
13486
13543
  /**
13487
13544
  * The **`id`** property of the Element interface represents the element's identifier, reflecting the id global attribute.
13488
13545
  *
@@ -15041,6 +15098,76 @@ declare var FragmentDirective: {
15041
15098
  new(): FragmentDirective;
15042
15099
  };
15043
15100
 
15101
+ /**
15102
+ * 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.
15103
+ * Available only in secure contexts.
15104
+ *
15105
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
15106
+ */
15107
+ interface GPU {
15108
+ /**
15109
+ * The **`wgslLanguageFeatures`** read-only property of the GPU interface returns a WGSLLanguageFeatures object that reports the WGSL language extensions supported by the WebGPU implementation.
15110
+ *
15111
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures)
15112
+ */
15113
+ readonly wgslLanguageFeatures: WGSLLanguageFeatures;
15114
+ /**
15115
+ * 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.
15116
+ *
15117
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat)
15118
+ */
15119
+ getPreferredCanvasFormat(): GPUTextureFormat;
15120
+ /**
15121
+ * 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.
15122
+ *
15123
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter)
15124
+ */
15125
+ requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
15126
+ }
15127
+
15128
+ declare var GPU: {
15129
+ prototype: GPU;
15130
+ new(): GPU;
15131
+ };
15132
+
15133
+ /**
15134
+ * The **`GPUAdapter`** interface of the WebGPU API represents a GPU adapter. From this you can request a GPUDevice, adapter info, features, and limits.
15135
+ * Available only in secure contexts.
15136
+ *
15137
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
15138
+ */
15139
+ interface GPUAdapter {
15140
+ /**
15141
+ * The **`features`** read-only property of the GPUAdapter interface returns a GPUSupportedFeatures object that describes additional functionality supported by the adapter.
15142
+ *
15143
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features)
15144
+ */
15145
+ readonly features: GPUSupportedFeatures;
15146
+ /**
15147
+ * The **`info`** read-only property of the GPUAdapter interface returns a GPUAdapterInfo object containing identifying information about the adapter.
15148
+ *
15149
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info)
15150
+ */
15151
+ readonly info: GPUAdapterInfo;
15152
+ /**
15153
+ * The **`limits`** read-only property of the GPUAdapter interface returns a GPUSupportedLimits object that describes the limits supported by the adapter.
15154
+ *
15155
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits)
15156
+ */
15157
+ readonly limits: GPUSupportedLimits;
15158
+ /**
15159
+ * 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.
15160
+ *
15161
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice)
15162
+ */
15163
+ requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
15164
+ }
15165
+
15166
+ declare var GPUAdapter: {
15167
+ prototype: GPUAdapter;
15168
+ new(): GPUAdapter;
15169
+ };
15170
+
15044
15171
  /**
15045
15172
  * The **`GPUAdapterInfo`** interface of the WebGPU API contains identifying information about a GPUAdapter.
15046
15173
  * Available only in secure contexts.
@@ -15494,6 +15621,12 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
15494
15621
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup)
15495
15622
  */
15496
15623
  createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
15624
+ /**
15625
+ * 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.
15626
+ *
15627
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout)
15628
+ */
15629
+ createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
15497
15630
  /**
15498
15631
  * The **`createBuffer()`** method of the GPUDevice interface creates a GPUBuffer in which to store raw data to use in GPU operations.
15499
15632
  *
@@ -21171,6 +21304,7 @@ interface HTMLTemplateElement extends HTMLElement {
21171
21304
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTemplateElement/shadowRootClonable)
21172
21305
  */
21173
21306
  shadowRootClonable: boolean;
21307
+ shadowRootCustomElementRegistry: string;
21174
21308
  /**
21175
21309
  * The **`shadowRootDelegatesFocus`** property of the HTMLTemplateElement interface reflects the value of the shadowrootdelegatesfocus attribute of the associated <template> element.
21176
21310
  *
@@ -25533,6 +25667,12 @@ declare var NavigationHistoryEntry: {
25533
25667
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController)
25534
25668
  */
25535
25669
  interface NavigationPrecommitController {
25670
+ /**
25671
+ * 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.
25672
+ *
25673
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/NavigationPrecommitController/addHandler)
25674
+ */
25675
+ addHandler(handler: NavigationInterceptHandler): void;
25536
25676
  /**
25537
25677
  * The **`redirect()`** method of the NavigationPrecommitController interface redirects the browser to a specified URL and specifies history behavior and any desired state information.
25538
25678
  *
@@ -25621,7 +25761,7 @@ declare var NavigationTransition: {
25621
25761
  *
25622
25762
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
25623
25763
  */
25624
- interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
25764
+ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorGPU, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
25625
25765
  /**
25626
25766
  * The **`clipboard`** read-only property of the Navigator interface returns a Clipboard object used to read and write the clipboard's contents.
25627
25767
  * Available only in secure contexts.
@@ -25786,6 +25926,15 @@ interface NavigatorCookies {
25786
25926
  readonly cookieEnabled: boolean;
25787
25927
  }
25788
25928
 
25929
+ interface NavigatorGPU {
25930
+ /**
25931
+ * Available only in secure contexts.
25932
+ *
25933
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
25934
+ */
25935
+ readonly gpu: GPU;
25936
+ }
25937
+
25789
25938
  interface NavigatorID {
25790
25939
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/appCodeName) */
25791
25940
  readonly appCodeName: string;
@@ -35173,7 +35322,7 @@ declare var ShadowRoot: {
35173
35322
  };
35174
35323
 
35175
35324
  /**
35176
- * 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.
35325
+ * 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.
35177
35326
  *
35178
35327
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SharedWorker)
35179
35328
  */
@@ -44023,6 +44172,7 @@ type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
44023
44172
  type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
44024
44173
  type GPUPipelineConstantValue = number;
44025
44174
  type GPUSampleMask = number;
44175
+ type GPUShaderStageFlags = number;
44026
44176
  type GPUSignedOffset32 = number;
44027
44177
  type GPUSize32 = number;
44028
44178
  type GPUSize32Out = number;
@@ -44140,6 +44290,7 @@ type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
44140
44290
  type GPUAutoLayoutMode = "auto";
44141
44291
  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";
44142
44292
  type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
44293
+ type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
44143
44294
  type GPUBufferMapState = "mapped" | "pending" | "unmapped";
44144
44295
  type GPUCanvasAlphaMode = "opaque" | "premultiplied";
44145
44296
  type GPUCanvasToneMappingMode = "extended" | "standard";
@@ -44148,19 +44299,24 @@ type GPUCompilationMessageType = "error" | "info" | "warning";
44148
44299
  type GPUCullMode = "back" | "front" | "none";
44149
44300
  type GPUDeviceLostReason = "destroyed" | "unknown";
44150
44301
  type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
44302
+ 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";
44151
44303
  type GPUFilterMode = "linear" | "nearest";
44152
44304
  type GPUFrontFace = "ccw" | "cw";
44153
44305
  type GPUIndexFormat = "uint16" | "uint32";
44154
44306
  type GPULoadOp = "clear" | "load";
44155
44307
  type GPUMipmapFilterMode = "linear" | "nearest";
44156
44308
  type GPUPipelineErrorReason = "internal" | "validation";
44309
+ type GPUPowerPreference = "high-performance" | "low-power";
44157
44310
  type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
44158
44311
  type GPUQueryType = "occlusion" | "timestamp";
44312
+ type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
44159
44313
  type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
44314
+ type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
44160
44315
  type GPUStoreOp = "discard" | "store";
44161
44316
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
44162
44317
  type GPUTextureDimension = "1d" | "2d" | "3d";
44163
44318
  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";
44319
+ type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
44164
44320
  type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
44165
44321
  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";
44166
44322
  type GPUVertexStepMode = "instance" | "vertex";