@types/web 0.0.181 → 0.0.183

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/index.d.ts CHANGED
@@ -661,368 +661,6 @@ interface FullscreenOptions {
661
661
  navigationUI?: FullscreenNavigationUI;
662
662
  }
663
663
 
664
- interface GPUBindGroupDescriptor extends GPUObjectDescriptorBase {
665
- entries: GPUBindGroupEntry[];
666
- layout: GPUBindGroupLayout;
667
- }
668
-
669
- interface GPUBindGroupEntry {
670
- binding: GPUIndex32;
671
- resource: GPUBindingResource;
672
- }
673
-
674
- interface GPUBindGroupLayoutDescriptor extends GPUObjectDescriptorBase {
675
- entries: GPUBindGroupLayoutEntry[];
676
- }
677
-
678
- interface GPUBindGroupLayoutEntry {
679
- binding: GPUIndex32;
680
- buffer?: GPUBufferBindingLayout;
681
- externalTexture?: GPUExternalTextureBindingLayout;
682
- sampler?: GPUSamplerBindingLayout;
683
- storageTexture?: GPUStorageTextureBindingLayout;
684
- texture?: GPUTextureBindingLayout;
685
- visibility: GPUShaderStageFlags;
686
- }
687
-
688
- interface GPUBlendComponent {
689
- dstFactor?: GPUBlendFactor;
690
- operation?: GPUBlendOperation;
691
- srcFactor?: GPUBlendFactor;
692
- }
693
-
694
- interface GPUBlendState {
695
- alpha: GPUBlendComponent;
696
- color: GPUBlendComponent;
697
- }
698
-
699
- interface GPUBufferBinding {
700
- buffer: GPUBuffer;
701
- offset?: GPUSize64;
702
- size?: GPUSize64;
703
- }
704
-
705
- interface GPUBufferBindingLayout {
706
- hasDynamicOffset?: boolean;
707
- minBindingSize?: GPUSize64;
708
- type?: GPUBufferBindingType;
709
- }
710
-
711
- interface GPUBufferDescriptor extends GPUObjectDescriptorBase {
712
- mappedAtCreation?: boolean;
713
- size: GPUSize64;
714
- usage: GPUBufferUsageFlags;
715
- }
716
-
717
- interface GPUCanvasConfiguration {
718
- alphaMode?: GPUCanvasAlphaMode;
719
- colorSpace?: PredefinedColorSpace;
720
- device: GPUDevice;
721
- format: GPUTextureFormat;
722
- toneMapping?: GPUCanvasToneMapping;
723
- usage?: GPUTextureUsageFlags;
724
- viewFormats?: GPUTextureFormat[];
725
- }
726
-
727
- interface GPUCanvasToneMapping {
728
- mode?: GPUCanvasToneMappingMode;
729
- }
730
-
731
- interface GPUColorDict {
732
- a: number;
733
- b: number;
734
- g: number;
735
- r: number;
736
- }
737
-
738
- interface GPUColorTargetState {
739
- blend?: GPUBlendState;
740
- format: GPUTextureFormat;
741
- writeMask?: GPUColorWriteFlags;
742
- }
743
-
744
- interface GPUCommandBufferDescriptor extends GPUObjectDescriptorBase {
745
- }
746
-
747
- interface GPUCommandEncoderDescriptor extends GPUObjectDescriptorBase {
748
- }
749
-
750
- interface GPUComputePassDescriptor extends GPUObjectDescriptorBase {
751
- timestampWrites?: GPUComputePassTimestampWrites;
752
- }
753
-
754
- interface GPUComputePassTimestampWrites {
755
- beginningOfPassWriteIndex?: GPUSize32;
756
- endOfPassWriteIndex?: GPUSize32;
757
- querySet: GPUQuerySet;
758
- }
759
-
760
- interface GPUComputePipelineDescriptor extends GPUPipelineDescriptorBase {
761
- compute: GPUProgrammableStage;
762
- }
763
-
764
- interface GPUCopyExternalImageDestInfo extends GPUTexelCopyTextureInfo {
765
- colorSpace?: PredefinedColorSpace;
766
- premultipliedAlpha?: boolean;
767
- }
768
-
769
- interface GPUCopyExternalImageSourceInfo {
770
- flipY?: boolean;
771
- origin?: GPUOrigin2D;
772
- source: GPUCopyExternalImageSource;
773
- }
774
-
775
- interface GPUDepthStencilState {
776
- depthBias?: GPUDepthBias;
777
- depthBiasClamp?: number;
778
- depthBiasSlopeScale?: number;
779
- depthCompare?: GPUCompareFunction;
780
- depthWriteEnabled?: boolean;
781
- format: GPUTextureFormat;
782
- stencilBack?: GPUStencilFaceState;
783
- stencilFront?: GPUStencilFaceState;
784
- stencilReadMask?: GPUStencilValue;
785
- stencilWriteMask?: GPUStencilValue;
786
- }
787
-
788
- interface GPUDeviceDescriptor extends GPUObjectDescriptorBase {
789
- defaultQueue?: GPUQueueDescriptor;
790
- requiredFeatures?: GPUFeatureName[];
791
- requiredLimits?: Record<string, GPUSize64 | undefined>;
792
- }
793
-
794
- interface GPUExtent3DDict {
795
- depthOrArrayLayers?: GPUIntegerCoordinate;
796
- height?: GPUIntegerCoordinate;
797
- width: GPUIntegerCoordinate;
798
- }
799
-
800
- interface GPUExternalTextureBindingLayout {
801
- }
802
-
803
- interface GPUExternalTextureDescriptor extends GPUObjectDescriptorBase {
804
- colorSpace?: PredefinedColorSpace;
805
- source: HTMLVideoElement | VideoFrame;
806
- }
807
-
808
- interface GPUFragmentState extends GPUProgrammableStage {
809
- targets: (GPUColorTargetState | null)[];
810
- }
811
-
812
- interface GPUMultisampleState {
813
- alphaToCoverageEnabled?: boolean;
814
- count?: GPUSize32;
815
- mask?: GPUSampleMask;
816
- }
817
-
818
- interface GPUObjectDescriptorBase {
819
- label?: string;
820
- }
821
-
822
- interface GPUOrigin2DDict {
823
- x?: GPUIntegerCoordinate;
824
- y?: GPUIntegerCoordinate;
825
- }
826
-
827
- interface GPUOrigin3DDict {
828
- x?: GPUIntegerCoordinate;
829
- y?: GPUIntegerCoordinate;
830
- z?: GPUIntegerCoordinate;
831
- }
832
-
833
- interface GPUPipelineDescriptorBase extends GPUObjectDescriptorBase {
834
- layout: GPUPipelineLayout | GPUAutoLayoutMode;
835
- }
836
-
837
- interface GPUPipelineErrorInit {
838
- reason: GPUPipelineErrorReason;
839
- }
840
-
841
- interface GPUPipelineLayoutDescriptor extends GPUObjectDescriptorBase {
842
- bindGroupLayouts: (GPUBindGroupLayout | null)[];
843
- }
844
-
845
- interface GPUPrimitiveState {
846
- cullMode?: GPUCullMode;
847
- frontFace?: GPUFrontFace;
848
- stripIndexFormat?: GPUIndexFormat;
849
- topology?: GPUPrimitiveTopology;
850
- unclippedDepth?: boolean;
851
- }
852
-
853
- interface GPUProgrammableStage {
854
- constants?: Record<string, GPUPipelineConstantValue>;
855
- entryPoint?: string;
856
- module: GPUShaderModule;
857
- }
858
-
859
- interface GPUQuerySetDescriptor extends GPUObjectDescriptorBase {
860
- count: GPUSize32;
861
- type: GPUQueryType;
862
- }
863
-
864
- interface GPUQueueDescriptor extends GPUObjectDescriptorBase {
865
- }
866
-
867
- interface GPURenderBundleDescriptor extends GPUObjectDescriptorBase {
868
- }
869
-
870
- interface GPURenderBundleEncoderDescriptor extends GPURenderPassLayout {
871
- depthReadOnly?: boolean;
872
- stencilReadOnly?: boolean;
873
- }
874
-
875
- interface GPURenderPassColorAttachment {
876
- clearValue?: GPUColor;
877
- depthSlice?: GPUIntegerCoordinate;
878
- loadOp: GPULoadOp;
879
- resolveTarget?: GPUTextureView;
880
- storeOp: GPUStoreOp;
881
- view: GPUTextureView;
882
- }
883
-
884
- interface GPURenderPassDepthStencilAttachment {
885
- depthClearValue?: number;
886
- depthLoadOp?: GPULoadOp;
887
- depthReadOnly?: boolean;
888
- depthStoreOp?: GPUStoreOp;
889
- stencilClearValue?: GPUStencilValue;
890
- stencilLoadOp?: GPULoadOp;
891
- stencilReadOnly?: boolean;
892
- stencilStoreOp?: GPUStoreOp;
893
- view: GPUTextureView;
894
- }
895
-
896
- interface GPURenderPassDescriptor extends GPUObjectDescriptorBase {
897
- colorAttachments: (GPURenderPassColorAttachment | null)[];
898
- depthStencilAttachment?: GPURenderPassDepthStencilAttachment;
899
- maxDrawCount?: GPUSize64;
900
- occlusionQuerySet?: GPUQuerySet;
901
- timestampWrites?: GPURenderPassTimestampWrites;
902
- }
903
-
904
- interface GPURenderPassLayout extends GPUObjectDescriptorBase {
905
- colorFormats: (GPUTextureFormat | null)[];
906
- depthStencilFormat?: GPUTextureFormat;
907
- sampleCount?: GPUSize32;
908
- }
909
-
910
- interface GPURenderPassTimestampWrites {
911
- beginningOfPassWriteIndex?: GPUSize32;
912
- endOfPassWriteIndex?: GPUSize32;
913
- querySet: GPUQuerySet;
914
- }
915
-
916
- interface GPURenderPipelineDescriptor extends GPUPipelineDescriptorBase {
917
- depthStencil?: GPUDepthStencilState;
918
- fragment?: GPUFragmentState;
919
- multisample?: GPUMultisampleState;
920
- primitive?: GPUPrimitiveState;
921
- vertex: GPUVertexState;
922
- }
923
-
924
- interface GPURequestAdapterOptions {
925
- forceFallbackAdapter?: boolean;
926
- powerPreference?: GPUPowerPreference;
927
- }
928
-
929
- interface GPUSamplerBindingLayout {
930
- type?: GPUSamplerBindingType;
931
- }
932
-
933
- interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
934
- addressModeU?: GPUAddressMode;
935
- addressModeV?: GPUAddressMode;
936
- addressModeW?: GPUAddressMode;
937
- compare?: GPUCompareFunction;
938
- lodMaxClamp?: number;
939
- lodMinClamp?: number;
940
- magFilter?: GPUFilterMode;
941
- maxAnisotropy?: number;
942
- minFilter?: GPUFilterMode;
943
- mipmapFilter?: GPUMipmapFilterMode;
944
- }
945
-
946
- interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
947
- code: string;
948
- }
949
-
950
- interface GPUStencilFaceState {
951
- compare?: GPUCompareFunction;
952
- depthFailOp?: GPUStencilOperation;
953
- failOp?: GPUStencilOperation;
954
- passOp?: GPUStencilOperation;
955
- }
956
-
957
- interface GPUStorageTextureBindingLayout {
958
- access?: GPUStorageTextureAccess;
959
- format: GPUTextureFormat;
960
- viewDimension?: GPUTextureViewDimension;
961
- }
962
-
963
- interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
964
- buffer: GPUBuffer;
965
- }
966
-
967
- interface GPUTexelCopyBufferLayout {
968
- bytesPerRow?: GPUSize32;
969
- offset?: GPUSize64;
970
- rowsPerImage?: GPUSize32;
971
- }
972
-
973
- interface GPUTexelCopyTextureInfo {
974
- aspect?: GPUTextureAspect;
975
- mipLevel?: GPUIntegerCoordinate;
976
- origin?: GPUOrigin3D;
977
- texture: GPUTexture;
978
- }
979
-
980
- interface GPUTextureBindingLayout {
981
- multisampled?: boolean;
982
- sampleType?: GPUTextureSampleType;
983
- viewDimension?: GPUTextureViewDimension;
984
- }
985
-
986
- interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
987
- dimension?: GPUTextureDimension;
988
- format: GPUTextureFormat;
989
- mipLevelCount?: GPUIntegerCoordinate;
990
- sampleCount?: GPUSize32;
991
- size: GPUExtent3D;
992
- usage: GPUTextureUsageFlags;
993
- viewFormats?: GPUTextureFormat[];
994
- }
995
-
996
- interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
997
- arrayLayerCount?: GPUIntegerCoordinate;
998
- aspect?: GPUTextureAspect;
999
- baseArrayLayer?: GPUIntegerCoordinate;
1000
- baseMipLevel?: GPUIntegerCoordinate;
1001
- dimension?: GPUTextureViewDimension;
1002
- format?: GPUTextureFormat;
1003
- mipLevelCount?: GPUIntegerCoordinate;
1004
- }
1005
-
1006
- interface GPUUncapturedErrorEventInit extends EventInit {
1007
- error: GPUError;
1008
- }
1009
-
1010
- interface GPUVertexAttribute {
1011
- format: GPUVertexFormat;
1012
- offset: GPUSize64;
1013
- shaderLocation: GPUIndex32;
1014
- }
1015
-
1016
- interface GPUVertexBufferLayout {
1017
- arrayStride: GPUSize64;
1018
- attributes: GPUVertexAttribute[];
1019
- stepMode?: GPUVertexStepMode;
1020
- }
1021
-
1022
- interface GPUVertexState extends GPUProgrammableStage {
1023
- buffers?: (GPUVertexBufferLayout | null)[];
1024
- }
1025
-
1026
664
  interface GainOptions extends AudioNodeOptions {
1027
665
  gain?: number;
1028
666
  }
@@ -5858,7 +5496,11 @@ interface CSSStyleDeclaration {
5858
5496
  wordBreak: string;
5859
5497
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/word-spacing) */
5860
5498
  wordSpacing: string;
5861
- /** @deprecated */
5499
+ /**
5500
+ * @deprecated
5501
+ *
5502
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap)
5503
+ */
5862
5504
  wordWrap: string;
5863
5505
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/writing-mode) */
5864
5506
  writingMode: string;
@@ -7169,9 +6811,13 @@ declare var DOMPointReadOnly: {
7169
6811
 
7170
6812
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
7171
6813
  interface DOMQuad {
6814
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
7172
6815
  readonly p1: DOMPoint;
6816
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
7173
6817
  readonly p2: DOMPoint;
6818
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
7174
6819
  readonly p3: DOMPoint;
6820
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
7175
6821
  readonly p4: DOMPoint;
7176
6822
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
7177
6823
  getBounds(): DOMRect;
@@ -7188,9 +6834,13 @@ declare var DOMQuad: {
7188
6834
 
7189
6835
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect) */
7190
6836
  interface DOMRect extends DOMRectReadOnly {
6837
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height) */
7191
6838
  height: number;
6839
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/width) */
7192
6840
  width: number;
6841
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/x) */
7193
6842
  x: number;
6843
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/y) */
7194
6844
  y: number;
7195
6845
  }
7196
6846
 
@@ -7236,6 +6886,7 @@ interface DOMRectReadOnly {
7236
6886
  readonly x: number;
7237
6887
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y) */
7238
6888
  readonly y: number;
6889
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/toJSON) */
7239
6890
  toJSON(): any;
7240
6891
  }
7241
6892
 
@@ -8029,7 +7680,11 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
8029
7680
  createElementNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", qualifiedName: string): MathMLElement;
8030
7681
  createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;
8031
7682
  createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;
8032
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createEvent) */
7683
+ /**
7684
+ * @deprecated
7685
+ *
7686
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createEvent)
7687
+ */
8033
7688
  createEvent(eventInterface: "AnimationEvent"): AnimationEvent;
8034
7689
  createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;
8035
7690
  createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;
@@ -8049,7 +7704,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
8049
7704
  createEvent(eventInterface: "FocusEvent"): FocusEvent;
8050
7705
  createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;
8051
7706
  createEvent(eventInterface: "FormDataEvent"): FormDataEvent;
8052
- createEvent(eventInterface: "GPUUncapturedErrorEvent"): GPUUncapturedErrorEvent;
8053
7707
  createEvent(eventInterface: "GamepadEvent"): GamepadEvent;
8054
7708
  createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;
8055
7709
  createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
@@ -9603,350 +9257,6 @@ declare var FragmentDirective: {
9603
9257
  new(): FragmentDirective;
9604
9258
  };
9605
9259
 
9606
- /**
9607
- * Available only in secure contexts.
9608
- *
9609
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
9610
- */
9611
- interface GPU {
9612
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures) */
9613
- readonly wgslLanguageFeatures: WGSLLanguageFeatures;
9614
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat) */
9615
- getPreferredCanvasFormat(): GPUTextureFormat;
9616
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter) */
9617
- requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
9618
- }
9619
-
9620
- declare var GPU: {
9621
- prototype: GPU;
9622
- new(): GPU;
9623
- };
9624
-
9625
- /**
9626
- * Available only in secure contexts.
9627
- *
9628
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
9629
- */
9630
- interface GPUAdapter {
9631
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features) */
9632
- readonly features: GPUSupportedFeatures;
9633
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info) */
9634
- readonly info: GPUAdapterInfo;
9635
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/isFallbackAdapter) */
9636
- readonly isFallbackAdapter: boolean;
9637
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits) */
9638
- readonly limits: GPUSupportedLimits;
9639
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice) */
9640
- requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
9641
- }
9642
-
9643
- declare var GPUAdapter: {
9644
- prototype: GPUAdapter;
9645
- new(): GPUAdapter;
9646
- };
9647
-
9648
- /**
9649
- * Available only in secure contexts.
9650
- *
9651
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
9652
- */
9653
- interface GPUAdapterInfo {
9654
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) */
9655
- readonly architecture: string;
9656
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) */
9657
- readonly description: string;
9658
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) */
9659
- readonly device: string;
9660
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) */
9661
- readonly vendor: string;
9662
- }
9663
-
9664
- declare var GPUAdapterInfo: {
9665
- prototype: GPUAdapterInfo;
9666
- new(): GPUAdapterInfo;
9667
- };
9668
-
9669
- /**
9670
- * Available only in secure contexts.
9671
- *
9672
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup)
9673
- */
9674
- interface GPUBindGroup extends GPUObjectBase {
9675
- }
9676
-
9677
- declare var GPUBindGroup: {
9678
- prototype: GPUBindGroup;
9679
- new(): GPUBindGroup;
9680
- };
9681
-
9682
- /**
9683
- * Available only in secure contexts.
9684
- *
9685
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroupLayout)
9686
- */
9687
- interface GPUBindGroupLayout extends GPUObjectBase {
9688
- }
9689
-
9690
- declare var GPUBindGroupLayout: {
9691
- prototype: GPUBindGroupLayout;
9692
- new(): GPUBindGroupLayout;
9693
- };
9694
-
9695
- interface GPUBindingCommandsMixin {
9696
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
9697
- setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: GPUBufferDynamicOffset[]): void;
9698
- setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsetsData: Uint32Array, dynamicOffsetsDataStart: GPUSize64, dynamicOffsetsDataLength: GPUSize32): void;
9699
- }
9700
-
9701
- /**
9702
- * Available only in secure contexts.
9703
- *
9704
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
9705
- */
9706
- interface GPUBuffer extends GPUObjectBase {
9707
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState) */
9708
- readonly mapState: GPUBufferMapState;
9709
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size) */
9710
- readonly size: GPUSize64Out;
9711
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage) */
9712
- readonly usage: GPUFlagsConstant;
9713
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy) */
9714
- destroy(): void;
9715
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange) */
9716
- getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
9717
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync) */
9718
- mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
9719
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap) */
9720
- unmap(): void;
9721
- }
9722
-
9723
- declare var GPUBuffer: {
9724
- prototype: GPUBuffer;
9725
- new(): GPUBuffer;
9726
- };
9727
-
9728
- /**
9729
- * Available only in secure contexts.
9730
- *
9731
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext)
9732
- */
9733
- interface GPUCanvasContext {
9734
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/canvas) */
9735
- readonly canvas: HTMLCanvasElement | OffscreenCanvas;
9736
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/configure) */
9737
- configure(configuration: GPUCanvasConfiguration): void;
9738
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/getCurrentTexture) */
9739
- getCurrentTexture(): GPUTexture;
9740
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/unconfigure) */
9741
- unconfigure(): void;
9742
- }
9743
-
9744
- declare var GPUCanvasContext: {
9745
- prototype: GPUCanvasContext;
9746
- new(): GPUCanvasContext;
9747
- };
9748
-
9749
- /**
9750
- * Available only in secure contexts.
9751
- *
9752
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandBuffer)
9753
- */
9754
- interface GPUCommandBuffer extends GPUObjectBase {
9755
- }
9756
-
9757
- declare var GPUCommandBuffer: {
9758
- prototype: GPUCommandBuffer;
9759
- new(): GPUCommandBuffer;
9760
- };
9761
-
9762
- /**
9763
- * Available only in secure contexts.
9764
- *
9765
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder)
9766
- */
9767
- interface GPUCommandEncoder extends GPUDebugCommandsMixin, GPUObjectBase {
9768
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginComputePass) */
9769
- beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder;
9770
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginRenderPass) */
9771
- beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder;
9772
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/clearBuffer) */
9773
- clearBuffer(buffer: GPUBuffer, offset?: GPUSize64, size?: GPUSize64): void;
9774
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer) */
9775
- copyBufferToBuffer(source: GPUBuffer, sourceOffset: GPUSize64, destination: GPUBuffer, destinationOffset: GPUSize64, size: GPUSize64): void;
9776
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
9777
- copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
9778
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
9779
- copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: GPUExtent3D): void;
9780
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
9781
- copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
9782
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/finish) */
9783
- finish(descriptor?: GPUCommandBufferDescriptor): GPUCommandBuffer;
9784
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/resolveQuerySet) */
9785
- resolveQuerySet(querySet: GPUQuerySet, firstQuery: GPUSize32, queryCount: GPUSize32, destination: GPUBuffer, destinationOffset: GPUSize64): void;
9786
- }
9787
-
9788
- declare var GPUCommandEncoder: {
9789
- prototype: GPUCommandEncoder;
9790
- new(): GPUCommandEncoder;
9791
- };
9792
-
9793
- /**
9794
- * Available only in secure contexts.
9795
- *
9796
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
9797
- */
9798
- interface GPUCompilationInfo {
9799
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages) */
9800
- readonly messages: ReadonlyArray<GPUCompilationMessage>;
9801
- }
9802
-
9803
- declare var GPUCompilationInfo: {
9804
- prototype: GPUCompilationInfo;
9805
- new(): GPUCompilationInfo;
9806
- };
9807
-
9808
- /**
9809
- * Available only in secure contexts.
9810
- *
9811
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
9812
- */
9813
- interface GPUCompilationMessage {
9814
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length) */
9815
- readonly length: number;
9816
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum) */
9817
- readonly lineNum: number;
9818
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos) */
9819
- readonly linePos: number;
9820
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message) */
9821
- readonly message: string;
9822
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset) */
9823
- readonly offset: number;
9824
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type) */
9825
- readonly type: GPUCompilationMessageType;
9826
- }
9827
-
9828
- declare var GPUCompilationMessage: {
9829
- prototype: GPUCompilationMessage;
9830
- new(): GPUCompilationMessage;
9831
- };
9832
-
9833
- /**
9834
- * Available only in secure contexts.
9835
- *
9836
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder)
9837
- */
9838
- interface GPUComputePassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase {
9839
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups) */
9840
- dispatchWorkgroups(workgroupCountX: GPUSize32, workgroupCountY?: GPUSize32, workgroupCountZ?: GPUSize32): void;
9841
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect) */
9842
- dispatchWorkgroupsIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
9843
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/end) */
9844
- end(): void;
9845
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setPipeline) */
9846
- setPipeline(pipeline: GPUComputePipeline): void;
9847
- }
9848
-
9849
- declare var GPUComputePassEncoder: {
9850
- prototype: GPUComputePassEncoder;
9851
- new(): GPUComputePassEncoder;
9852
- };
9853
-
9854
- /**
9855
- * Available only in secure contexts.
9856
- *
9857
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline)
9858
- */
9859
- interface GPUComputePipeline extends GPUObjectBase, GPUPipelineBase {
9860
- }
9861
-
9862
- declare var GPUComputePipeline: {
9863
- prototype: GPUComputePipeline;
9864
- new(): GPUComputePipeline;
9865
- };
9866
-
9867
- interface GPUDebugCommandsMixin {
9868
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/insertDebugMarker) */
9869
- insertDebugMarker(markerLabel: string): void;
9870
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/popDebugGroup) */
9871
- popDebugGroup(): void;
9872
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/pushDebugGroup) */
9873
- pushDebugGroup(groupLabel: string): void;
9874
- }
9875
-
9876
- /**
9877
- * Available only in secure contexts.
9878
- *
9879
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice)
9880
- */
9881
- interface GPUDevice extends EventTarget, GPUObjectBase {
9882
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/features) */
9883
- readonly features: GPUSupportedFeatures;
9884
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/limits) */
9885
- readonly limits: GPUSupportedLimits;
9886
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/lost) */
9887
- readonly lost: Promise<GPUDeviceLostInfo>;
9888
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/queue) */
9889
- readonly queue: GPUQueue;
9890
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup) */
9891
- createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
9892
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout) */
9893
- createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
9894
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBuffer) */
9895
- createBuffer(descriptor: GPUBufferDescriptor): GPUBuffer;
9896
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createCommandEncoder) */
9897
- createCommandEncoder(descriptor?: GPUCommandEncoderDescriptor): GPUCommandEncoder;
9898
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipeline) */
9899
- createComputePipeline(descriptor: GPUComputePipelineDescriptor): GPUComputePipeline;
9900
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipelineAsync) */
9901
- createComputePipelineAsync(descriptor: GPUComputePipelineDescriptor): Promise<GPUComputePipeline>;
9902
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createPipelineLayout) */
9903
- createPipelineLayout(descriptor: GPUPipelineLayoutDescriptor): GPUPipelineLayout;
9904
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createQuerySet) */
9905
- createQuerySet(descriptor: GPUQuerySetDescriptor): GPUQuerySet;
9906
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderBundleEncoder) */
9907
- createRenderBundleEncoder(descriptor: GPURenderBundleEncoderDescriptor): GPURenderBundleEncoder;
9908
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipeline) */
9909
- createRenderPipeline(descriptor: GPURenderPipelineDescriptor): GPURenderPipeline;
9910
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipelineAsync) */
9911
- createRenderPipelineAsync(descriptor: GPURenderPipelineDescriptor): Promise<GPURenderPipeline>;
9912
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler) */
9913
- createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
9914
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule) */
9915
- createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
9916
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture) */
9917
- createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
9918
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/destroy) */
9919
- destroy(): void;
9920
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/importExternalTexture) */
9921
- importExternalTexture(descriptor: GPUExternalTextureDescriptor): GPUExternalTexture;
9922
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/popErrorScope) */
9923
- popErrorScope(): Promise<GPUError | null>;
9924
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/pushErrorScope) */
9925
- pushErrorScope(filter: GPUErrorFilter): void;
9926
- }
9927
-
9928
- declare var GPUDevice: {
9929
- prototype: GPUDevice;
9930
- new(): GPUDevice;
9931
- };
9932
-
9933
- /**
9934
- * Available only in secure contexts.
9935
- *
9936
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo)
9937
- */
9938
- interface GPUDeviceLostInfo {
9939
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/message) */
9940
- readonly message: string;
9941
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/reason) */
9942
- readonly reason: GPUDeviceLostReason;
9943
- }
9944
-
9945
- declare var GPUDeviceLostInfo: {
9946
- prototype: GPUDeviceLostInfo;
9947
- new(): GPUDeviceLostInfo;
9948
- };
9949
-
9950
9260
  /**
9951
9261
  * Available only in secure contexts.
9952
9262
  *
@@ -9957,403 +9267,6 @@ interface GPUError {
9957
9267
  readonly message: string;
9958
9268
  }
9959
9269
 
9960
- /**
9961
- * Available only in secure contexts.
9962
- *
9963
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUExternalTexture)
9964
- */
9965
- interface GPUExternalTexture extends GPUObjectBase {
9966
- }
9967
-
9968
- declare var GPUExternalTexture: {
9969
- prototype: GPUExternalTexture;
9970
- new(): GPUExternalTexture;
9971
- };
9972
-
9973
- /**
9974
- * Available only in secure contexts.
9975
- *
9976
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUInternalError)
9977
- */
9978
- interface GPUInternalError extends GPUError {
9979
- }
9980
-
9981
- declare var GPUInternalError: {
9982
- prototype: GPUInternalError;
9983
- new(message: string): GPUInternalError;
9984
- };
9985
-
9986
- interface GPUObjectBase {
9987
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup/label) */
9988
- label: string;
9989
- }
9990
-
9991
- /**
9992
- * Available only in secure contexts.
9993
- *
9994
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUOutOfMemoryError)
9995
- */
9996
- interface GPUOutOfMemoryError extends GPUError {
9997
- }
9998
-
9999
- declare var GPUOutOfMemoryError: {
10000
- prototype: GPUOutOfMemoryError;
10001
- new(message: string): GPUOutOfMemoryError;
10002
- };
10003
-
10004
- interface GPUPipelineBase {
10005
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline/getBindGroupLayout) */
10006
- getBindGroupLayout(index: number): GPUBindGroupLayout;
10007
- }
10008
-
10009
- /**
10010
- * Available only in secure contexts.
10011
- *
10012
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
10013
- */
10014
- interface GPUPipelineError extends DOMException {
10015
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason) */
10016
- readonly reason: GPUPipelineErrorReason;
10017
- }
10018
-
10019
- declare var GPUPipelineError: {
10020
- prototype: GPUPipelineError;
10021
- new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
10022
- };
10023
-
10024
- /**
10025
- * Available only in secure contexts.
10026
- *
10027
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineLayout)
10028
- */
10029
- interface GPUPipelineLayout extends GPUObjectBase {
10030
- }
10031
-
10032
- declare var GPUPipelineLayout: {
10033
- prototype: GPUPipelineLayout;
10034
- new(): GPUPipelineLayout;
10035
- };
10036
-
10037
- /**
10038
- * Available only in secure contexts.
10039
- *
10040
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
10041
- */
10042
- interface GPUQuerySet extends GPUObjectBase {
10043
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count) */
10044
- readonly count: GPUSize32Out;
10045
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type) */
10046
- readonly type: GPUQueryType;
10047
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy) */
10048
- destroy(): void;
10049
- }
10050
-
10051
- declare var GPUQuerySet: {
10052
- prototype: GPUQuerySet;
10053
- new(): GPUQuerySet;
10054
- };
10055
-
10056
- /**
10057
- * Available only in secure contexts.
10058
- *
10059
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue)
10060
- */
10061
- interface GPUQueue extends GPUObjectBase {
10062
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
10063
- copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: GPUExtent3D): void;
10064
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/onSubmittedWorkDone) */
10065
- onSubmittedWorkDone(): Promise<void>;
10066
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
10067
- submit(commandBuffers: GPUCommandBuffer[]): void;
10068
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeBuffer) */
10069
- writeBuffer(buffer: GPUBuffer, bufferOffset: GPUSize64, data: AllowSharedBufferSource, dataOffset?: GPUSize64, size?: GPUSize64): void;
10070
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
10071
- writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: GPUExtent3D): void;
10072
- }
10073
-
10074
- declare var GPUQueue: {
10075
- prototype: GPUQueue;
10076
- new(): GPUQueue;
10077
- };
10078
-
10079
- /**
10080
- * Available only in secure contexts.
10081
- *
10082
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundle)
10083
- */
10084
- interface GPURenderBundle extends GPUObjectBase {
10085
- }
10086
-
10087
- declare var GPURenderBundle: {
10088
- prototype: GPURenderBundle;
10089
- new(): GPURenderBundle;
10090
- };
10091
-
10092
- /**
10093
- * Available only in secure contexts.
10094
- *
10095
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder)
10096
- */
10097
- interface GPURenderBundleEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
10098
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/finish) */
10099
- finish(descriptor?: GPURenderBundleDescriptor): GPURenderBundle;
10100
- }
10101
-
10102
- declare var GPURenderBundleEncoder: {
10103
- prototype: GPURenderBundleEncoder;
10104
- new(): GPURenderBundleEncoder;
10105
- };
10106
-
10107
- interface GPURenderCommandsMixin {
10108
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/draw) */
10109
- draw(vertexCount: GPUSize32, instanceCount?: GPUSize32, firstVertex?: GPUSize32, firstInstance?: GPUSize32): void;
10110
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexed) */
10111
- drawIndexed(indexCount: GPUSize32, instanceCount?: GPUSize32, firstIndex?: GPUSize32, baseVertex?: GPUSignedOffset32, firstInstance?: GPUSize32): void;
10112
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect) */
10113
- drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
10114
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndirect) */
10115
- drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
10116
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer) */
10117
- setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: GPUSize64, size?: GPUSize64): void;
10118
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setPipeline) */
10119
- setPipeline(pipeline: GPURenderPipeline): void;
10120
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer) */
10121
- setVertexBuffer(slot: GPUIndex32, buffer: GPUBuffer | null, offset?: GPUSize64, size?: GPUSize64): void;
10122
- }
10123
-
10124
- /**
10125
- * Available only in secure contexts.
10126
- *
10127
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder)
10128
- */
10129
- interface GPURenderPassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
10130
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/beginOcclusionQuery) */
10131
- beginOcclusionQuery(queryIndex: GPUSize32): void;
10132
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/end) */
10133
- end(): void;
10134
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/endOcclusionQuery) */
10135
- endOcclusionQuery(): void;
10136
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
10137
- executeBundles(bundles: GPURenderBundle[]): void;
10138
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
10139
- setBlendConstant(color: GPUColor): void;
10140
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setScissorRect) */
10141
- setScissorRect(x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate): void;
10142
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setStencilReference) */
10143
- setStencilReference(reference: GPUStencilValue): void;
10144
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setViewport) */
10145
- setViewport(x: number, y: number, width: number, height: number, minDepth: number, maxDepth: number): void;
10146
- }
10147
-
10148
- declare var GPURenderPassEncoder: {
10149
- prototype: GPURenderPassEncoder;
10150
- new(): GPURenderPassEncoder;
10151
- };
10152
-
10153
- /**
10154
- * Available only in secure contexts.
10155
- *
10156
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPipeline)
10157
- */
10158
- interface GPURenderPipeline extends GPUObjectBase, GPUPipelineBase {
10159
- }
10160
-
10161
- declare var GPURenderPipeline: {
10162
- prototype: GPURenderPipeline;
10163
- new(): GPURenderPipeline;
10164
- };
10165
-
10166
- /**
10167
- * Available only in secure contexts.
10168
- *
10169
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSampler)
10170
- */
10171
- interface GPUSampler extends GPUObjectBase {
10172
- }
10173
-
10174
- declare var GPUSampler: {
10175
- prototype: GPUSampler;
10176
- new(): GPUSampler;
10177
- };
10178
-
10179
- /**
10180
- * Available only in secure contexts.
10181
- *
10182
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
10183
- */
10184
- interface GPUShaderModule extends GPUObjectBase {
10185
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo) */
10186
- getCompilationInfo(): Promise<GPUCompilationInfo>;
10187
- }
10188
-
10189
- declare var GPUShaderModule: {
10190
- prototype: GPUShaderModule;
10191
- new(): GPUShaderModule;
10192
- };
10193
-
10194
- /**
10195
- * Available only in secure contexts.
10196
- *
10197
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedFeatures)
10198
- */
10199
- interface GPUSupportedFeatures {
10200
- forEach(callbackfn: (value: string, key: string, parent: GPUSupportedFeatures) => void, thisArg?: any): void;
10201
- }
10202
-
10203
- declare var GPUSupportedFeatures: {
10204
- prototype: GPUSupportedFeatures;
10205
- new(): GPUSupportedFeatures;
10206
- };
10207
-
10208
- /**
10209
- * Available only in secure contexts.
10210
- *
10211
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits)
10212
- */
10213
- interface GPUSupportedLimits {
10214
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10215
- readonly maxBindGroups: number;
10216
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10217
- readonly maxBindGroupsPlusVertexBuffers: number;
10218
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10219
- readonly maxBindingsPerBindGroup: number;
10220
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10221
- readonly maxBufferSize: number;
10222
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10223
- readonly maxColorAttachmentBytesPerSample: number;
10224
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10225
- readonly maxColorAttachments: number;
10226
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10227
- readonly maxComputeInvocationsPerWorkgroup: number;
10228
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10229
- readonly maxComputeWorkgroupSizeX: number;
10230
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10231
- readonly maxComputeWorkgroupSizeY: number;
10232
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10233
- readonly maxComputeWorkgroupSizeZ: number;
10234
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10235
- readonly maxComputeWorkgroupStorageSize: number;
10236
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10237
- readonly maxComputeWorkgroupsPerDimension: number;
10238
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10239
- readonly maxDynamicStorageBuffersPerPipelineLayout: number;
10240
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10241
- readonly maxDynamicUniformBuffersPerPipelineLayout: number;
10242
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10243
- readonly maxInterStageShaderVariables: number;
10244
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10245
- readonly maxSampledTexturesPerShaderStage: number;
10246
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10247
- readonly maxSamplersPerShaderStage: number;
10248
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10249
- readonly maxStorageBufferBindingSize: number;
10250
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10251
- readonly maxStorageBuffersPerShaderStage: number;
10252
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10253
- readonly maxStorageTexturesPerShaderStage: number;
10254
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10255
- readonly maxTextureArrayLayers: number;
10256
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10257
- readonly maxTextureDimension1D: number;
10258
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10259
- readonly maxTextureDimension2D: number;
10260
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10261
- readonly maxTextureDimension3D: number;
10262
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10263
- readonly maxUniformBufferBindingSize: number;
10264
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10265
- readonly maxUniformBuffersPerShaderStage: number;
10266
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10267
- readonly maxVertexAttributes: number;
10268
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10269
- readonly maxVertexBufferArrayStride: number;
10270
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10271
- readonly maxVertexBuffers: number;
10272
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10273
- readonly minStorageBufferOffsetAlignment: number;
10274
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
10275
- readonly minUniformBufferOffsetAlignment: number;
10276
- }
10277
-
10278
- declare var GPUSupportedLimits: {
10279
- prototype: GPUSupportedLimits;
10280
- new(): GPUSupportedLimits;
10281
- };
10282
-
10283
- /**
10284
- * Available only in secure contexts.
10285
- *
10286
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture)
10287
- */
10288
- interface GPUTexture extends GPUObjectBase {
10289
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/depthOrArrayLayers) */
10290
- readonly depthOrArrayLayers: GPUIntegerCoordinateOut;
10291
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/dimension) */
10292
- readonly dimension: GPUTextureDimension;
10293
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/format) */
10294
- readonly format: GPUTextureFormat;
10295
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/height) */
10296
- readonly height: GPUIntegerCoordinateOut;
10297
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/mipLevelCount) */
10298
- readonly mipLevelCount: GPUIntegerCoordinateOut;
10299
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/sampleCount) */
10300
- readonly sampleCount: GPUSize32Out;
10301
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/usage) */
10302
- readonly usage: GPUFlagsConstant;
10303
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/width) */
10304
- readonly width: GPUIntegerCoordinateOut;
10305
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/createView) */
10306
- createView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
10307
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/destroy) */
10308
- destroy(): void;
10309
- }
10310
-
10311
- declare var GPUTexture: {
10312
- prototype: GPUTexture;
10313
- new(): GPUTexture;
10314
- };
10315
-
10316
- /**
10317
- * Available only in secure contexts.
10318
- *
10319
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTextureView)
10320
- */
10321
- interface GPUTextureView extends GPUObjectBase {
10322
- }
10323
-
10324
- declare var GPUTextureView: {
10325
- prototype: GPUTextureView;
10326
- new(): GPUTextureView;
10327
- };
10328
-
10329
- /**
10330
- * Available only in secure contexts.
10331
- *
10332
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent)
10333
- */
10334
- interface GPUUncapturedErrorEvent extends Event {
10335
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent/error) */
10336
- readonly error: GPUError;
10337
- }
10338
-
10339
- declare var GPUUncapturedErrorEvent: {
10340
- prototype: GPUUncapturedErrorEvent;
10341
- new(type: string, gpuUncapturedErrorEventInitDict: GPUUncapturedErrorEventInit): GPUUncapturedErrorEvent;
10342
- };
10343
-
10344
- /**
10345
- * Available only in secure contexts.
10346
- *
10347
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUValidationError)
10348
- */
10349
- interface GPUValidationError extends GPUError {
10350
- }
10351
-
10352
- declare var GPUValidationError: {
10353
- prototype: GPUValidationError;
10354
- new(message: string): GPUValidationError;
10355
- };
10356
-
10357
9270
  /**
10358
9271
  * A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels.
10359
9272
  *
@@ -11208,7 +10121,11 @@ declare var HTMLAnchorElement: {
11208
10121
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
11209
10122
  */
11210
10123
  interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
11211
- /** Sets or retrieves a text alternative to the graphic. */
10124
+ /**
10125
+ * Sets or retrieves a text alternative to the graphic.
10126
+ *
10127
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)
10128
+ */
11212
10129
  alt: string;
11213
10130
  /** Sets or retrieves the coordinates of the object. */
11214
10131
  coords: string;
@@ -11769,7 +10686,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
11769
10686
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover) */
11770
10687
  showPopover(): void;
11771
10688
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover) */
11772
- togglePopover(force?: boolean): boolean;
10689
+ togglePopover(options?: boolean): boolean;
11773
10690
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
11774
10691
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
11775
10692
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -13244,6 +12161,7 @@ interface HTMLMediaElement extends HTMLElement {
13244
12161
  readonly networkState: number;
13245
12162
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */
13246
12163
  onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;
12164
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */
13247
12165
  onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;
13248
12166
  /**
13249
12167
  * Gets a flag that specifies whether playback is paused.
@@ -17763,7 +16681,7 @@ declare var NavigationPreloadManager: {
17763
16681
  *
17764
16682
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
17765
16683
  */
17766
- interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorGPU, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
16684
+ interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
17767
16685
  /**
17768
16686
  * Available only in secure contexts.
17769
16687
  *
@@ -17872,15 +16790,6 @@ interface NavigatorCookies {
17872
16790
  readonly cookieEnabled: boolean;
17873
16791
  }
17874
16792
 
17875
- interface NavigatorGPU {
17876
- /**
17877
- * Available only in secure contexts.
17878
- *
17879
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
17880
- */
17881
- readonly gpu: GPU;
17882
- }
17883
-
17884
16793
  interface NavigatorID {
17885
16794
  /**
17886
16795
  * @deprecated
@@ -25248,20 +24157,6 @@ interface WEBGL_multi_draw {
25248
24157
  multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
25249
24158
  }
25250
24159
 
25251
- /**
25252
- * Available only in secure contexts.
25253
- *
25254
- * [MDN Reference](https://developer.mozilla.org/docs/Web/API/WGSLLanguageFeatures)
25255
- */
25256
- interface WGSLLanguageFeatures {
25257
- forEach(callbackfn: (value: string, key: string, parent: WGSLLanguageFeatures) => void, thisArg?: any): void;
25258
- }
25259
-
25260
- declare var WGSLLanguageFeatures: {
25261
- prototype: WGSLLanguageFeatures;
25262
- new(): WGSLLanguageFeatures;
25263
- };
25264
-
25265
24160
  /**
25266
24161
  * Available only in secure contexts.
25267
24162
  *
@@ -30220,31 +29115,6 @@ type GLsizei = number;
30220
29115
  type GLsizeiptr = number;
30221
29116
  type GLuint = number;
30222
29117
  type GLuint64 = number;
30223
- type GPUBindingResource = GPUSampler | GPUTextureView | GPUBufferBinding | GPUExternalTexture;
30224
- type GPUBufferDynamicOffset = number;
30225
- type GPUBufferUsageFlags = number;
30226
- type GPUColor = number[] | GPUColorDict;
30227
- type GPUColorWriteFlags = number;
30228
- type GPUCopyExternalImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLVideoElement | VideoFrame | HTMLCanvasElement | OffscreenCanvas;
30229
- type GPUDepthBias = number;
30230
- type GPUExtent3D = GPUIntegerCoordinate[] | GPUExtent3DDict;
30231
- type GPUFlagsConstant = number;
30232
- type GPUIndex32 = number;
30233
- type GPUIntegerCoordinate = number;
30234
- type GPUIntegerCoordinateOut = number;
30235
- type GPUMapModeFlags = number;
30236
- type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
30237
- type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
30238
- type GPUPipelineConstantValue = number;
30239
- type GPUSampleMask = number;
30240
- type GPUShaderStageFlags = number;
30241
- type GPUSignedOffset32 = number;
30242
- type GPUSize32 = number;
30243
- type GPUSize32Out = number;
30244
- type GPUSize64 = number;
30245
- type GPUSize64Out = number;
30246
- type GPUStencilValue = number;
30247
- type GPUTextureUsageFlags = number;
30248
29118
  type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
30249
29119
  type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
30250
29120
  type HashAlgorithmIdentifier = AlgorithmIdentifier;
@@ -30258,7 +29128,7 @@ type MediaProvider = MediaStream | MediaSource | Blob;
30258
29128
  type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
30259
29129
  type MutationRecordType = "attributes" | "characterData" | "childList";
30260
29130
  type NamedCurve = string;
30261
- type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
29131
+ type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
30262
29132
  type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
30263
29133
  type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
30264
29134
  type OptionalPostfixToken<T extends string> = ` ${T}` | "";
@@ -30269,7 +29139,7 @@ type RTCRtpTransform = RTCRtpScriptTransform;
30269
29139
  type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
30270
29140
  type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
30271
29141
  type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
30272
- type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
29142
+ type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
30273
29143
  type ReportList = Report[];
30274
29144
  type RequestInfo = Request | string;
30275
29145
  type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
@@ -30341,40 +29211,6 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
30341
29211
  type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
30342
29212
  type FontFaceSetLoadStatus = "loaded" | "loading";
30343
29213
  type FullscreenNavigationUI = "auto" | "hide" | "show";
30344
- type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
30345
- type GPUAutoLayoutMode = "auto";
30346
- 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";
30347
- type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
30348
- type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
30349
- type GPUBufferMapState = "mapped" | "pending" | "unmapped";
30350
- type GPUCanvasAlphaMode = "opaque" | "premultiplied";
30351
- type GPUCanvasToneMappingMode = "extended" | "standard";
30352
- type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal";
30353
- type GPUCompilationMessageType = "error" | "info" | "warning";
30354
- type GPUCullMode = "back" | "front" | "none";
30355
- type GPUDeviceLostReason = "destroyed" | "unknown";
30356
- type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
30357
- type GPUFeatureName = "bgra8unorm-storage" | "depth-clip-control" | "depth32float-stencil8" | "float32-filterable" | "indirect-first-instance" | "rg11b10ufloat-renderable" | "shader-f16" | "texture-compression-astc" | "texture-compression-bc" | "texture-compression-etc2" | "timestamp-query";
30358
- type GPUFilterMode = "linear" | "nearest";
30359
- type GPUFrontFace = "ccw" | "cw";
30360
- type GPUIndexFormat = "uint16" | "uint32";
30361
- type GPULoadOp = "clear" | "load";
30362
- type GPUMipmapFilterMode = "linear" | "nearest";
30363
- type GPUPipelineErrorReason = "internal" | "validation";
30364
- type GPUPowerPreference = "high-performance" | "low-power";
30365
- type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
30366
- type GPUQueryType = "occlusion" | "timestamp";
30367
- type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
30368
- type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
30369
- type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
30370
- type GPUStoreOp = "discard" | "store";
30371
- type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
30372
- type GPUTextureDimension = "1d" | "2d" | "3d";
30373
- 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" | "r16uint" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16uint" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16uint" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
30374
- type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
30375
- type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
30376
- type GPUVertexFormat = "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8x2" | "sint8x4" | "snorm16x2" | "snorm16x4" | "snorm8x2" | "snorm8x4" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16x2" | "unorm16x4" | "unorm8x2" | "unorm8x4";
30377
- type GPUVertexStepMode = "instance" | "vertex";
30378
29214
  type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
30379
29215
  type GamepadHapticsResult = "complete" | "preempted";
30380
29216
  type GamepadMappingType = "" | "standard" | "xr-standard";