@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/README.md +1 -1
- package/index.d.ts +29 -1193
- package/iterable.d.ts +0 -36
- package/package.json +1 -1
- package/ts5.5/index.d.ts +29 -1193
- package/ts5.5/iterable.d.ts +0 -36
package/ts5.5/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
|
}
|
|
@@ -5852,7 +5490,11 @@ interface CSSStyleDeclaration {
|
|
|
5852
5490
|
wordBreak: string;
|
|
5853
5491
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/word-spacing) */
|
|
5854
5492
|
wordSpacing: string;
|
|
5855
|
-
/**
|
|
5493
|
+
/**
|
|
5494
|
+
* @deprecated
|
|
5495
|
+
*
|
|
5496
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/overflow-wrap)
|
|
5497
|
+
*/
|
|
5856
5498
|
wordWrap: string;
|
|
5857
5499
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/writing-mode) */
|
|
5858
5500
|
writingMode: string;
|
|
@@ -7162,9 +6804,13 @@ declare var DOMPointReadOnly: {
|
|
|
7162
6804
|
|
|
7163
6805
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad) */
|
|
7164
6806
|
interface DOMQuad {
|
|
6807
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p1) */
|
|
7165
6808
|
readonly p1: DOMPoint;
|
|
6809
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p2) */
|
|
7166
6810
|
readonly p2: DOMPoint;
|
|
6811
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p3) */
|
|
7167
6812
|
readonly p3: DOMPoint;
|
|
6813
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/p4) */
|
|
7168
6814
|
readonly p4: DOMPoint;
|
|
7169
6815
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMQuad/getBounds) */
|
|
7170
6816
|
getBounds(): DOMRect;
|
|
@@ -7181,9 +6827,13 @@ declare var DOMQuad: {
|
|
|
7181
6827
|
|
|
7182
6828
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect) */
|
|
7183
6829
|
interface DOMRect extends DOMRectReadOnly {
|
|
6830
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/height) */
|
|
7184
6831
|
height: number;
|
|
6832
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/width) */
|
|
7185
6833
|
width: number;
|
|
6834
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/x) */
|
|
7186
6835
|
x: number;
|
|
6836
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/y) */
|
|
7187
6837
|
y: number;
|
|
7188
6838
|
}
|
|
7189
6839
|
|
|
@@ -7229,6 +6879,7 @@ interface DOMRectReadOnly {
|
|
|
7229
6879
|
readonly x: number;
|
|
7230
6880
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/y) */
|
|
7231
6881
|
readonly y: number;
|
|
6882
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/toJSON) */
|
|
7232
6883
|
toJSON(): any;
|
|
7233
6884
|
}
|
|
7234
6885
|
|
|
@@ -8022,7 +7673,11 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
8022
7673
|
createElementNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", qualifiedName: string): MathMLElement;
|
|
8023
7674
|
createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;
|
|
8024
7675
|
createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;
|
|
8025
|
-
/**
|
|
7676
|
+
/**
|
|
7677
|
+
* @deprecated
|
|
7678
|
+
*
|
|
7679
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createEvent)
|
|
7680
|
+
*/
|
|
8026
7681
|
createEvent(eventInterface: "AnimationEvent"): AnimationEvent;
|
|
8027
7682
|
createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;
|
|
8028
7683
|
createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;
|
|
@@ -8042,7 +7697,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
8042
7697
|
createEvent(eventInterface: "FocusEvent"): FocusEvent;
|
|
8043
7698
|
createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;
|
|
8044
7699
|
createEvent(eventInterface: "FormDataEvent"): FormDataEvent;
|
|
8045
|
-
createEvent(eventInterface: "GPUUncapturedErrorEvent"): GPUUncapturedErrorEvent;
|
|
8046
7700
|
createEvent(eventInterface: "GamepadEvent"): GamepadEvent;
|
|
8047
7701
|
createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;
|
|
8048
7702
|
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
|
|
@@ -9593,350 +9247,6 @@ declare var FragmentDirective: {
|
|
|
9593
9247
|
new(): FragmentDirective;
|
|
9594
9248
|
};
|
|
9595
9249
|
|
|
9596
|
-
/**
|
|
9597
|
-
* Available only in secure contexts.
|
|
9598
|
-
*
|
|
9599
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
|
|
9600
|
-
*/
|
|
9601
|
-
interface GPU {
|
|
9602
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures) */
|
|
9603
|
-
readonly wgslLanguageFeatures: WGSLLanguageFeatures;
|
|
9604
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat) */
|
|
9605
|
-
getPreferredCanvasFormat(): GPUTextureFormat;
|
|
9606
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter) */
|
|
9607
|
-
requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
|
|
9608
|
-
}
|
|
9609
|
-
|
|
9610
|
-
declare var GPU: {
|
|
9611
|
-
prototype: GPU;
|
|
9612
|
-
new(): GPU;
|
|
9613
|
-
};
|
|
9614
|
-
|
|
9615
|
-
/**
|
|
9616
|
-
* Available only in secure contexts.
|
|
9617
|
-
*
|
|
9618
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
|
|
9619
|
-
*/
|
|
9620
|
-
interface GPUAdapter {
|
|
9621
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features) */
|
|
9622
|
-
readonly features: GPUSupportedFeatures;
|
|
9623
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info) */
|
|
9624
|
-
readonly info: GPUAdapterInfo;
|
|
9625
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/isFallbackAdapter) */
|
|
9626
|
-
readonly isFallbackAdapter: boolean;
|
|
9627
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits) */
|
|
9628
|
-
readonly limits: GPUSupportedLimits;
|
|
9629
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice) */
|
|
9630
|
-
requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
|
|
9631
|
-
}
|
|
9632
|
-
|
|
9633
|
-
declare var GPUAdapter: {
|
|
9634
|
-
prototype: GPUAdapter;
|
|
9635
|
-
new(): GPUAdapter;
|
|
9636
|
-
};
|
|
9637
|
-
|
|
9638
|
-
/**
|
|
9639
|
-
* Available only in secure contexts.
|
|
9640
|
-
*
|
|
9641
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
|
|
9642
|
-
*/
|
|
9643
|
-
interface GPUAdapterInfo {
|
|
9644
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) */
|
|
9645
|
-
readonly architecture: string;
|
|
9646
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) */
|
|
9647
|
-
readonly description: string;
|
|
9648
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) */
|
|
9649
|
-
readonly device: string;
|
|
9650
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) */
|
|
9651
|
-
readonly vendor: string;
|
|
9652
|
-
}
|
|
9653
|
-
|
|
9654
|
-
declare var GPUAdapterInfo: {
|
|
9655
|
-
prototype: GPUAdapterInfo;
|
|
9656
|
-
new(): GPUAdapterInfo;
|
|
9657
|
-
};
|
|
9658
|
-
|
|
9659
|
-
/**
|
|
9660
|
-
* Available only in secure contexts.
|
|
9661
|
-
*
|
|
9662
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup)
|
|
9663
|
-
*/
|
|
9664
|
-
interface GPUBindGroup extends GPUObjectBase {
|
|
9665
|
-
}
|
|
9666
|
-
|
|
9667
|
-
declare var GPUBindGroup: {
|
|
9668
|
-
prototype: GPUBindGroup;
|
|
9669
|
-
new(): GPUBindGroup;
|
|
9670
|
-
};
|
|
9671
|
-
|
|
9672
|
-
/**
|
|
9673
|
-
* Available only in secure contexts.
|
|
9674
|
-
*
|
|
9675
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroupLayout)
|
|
9676
|
-
*/
|
|
9677
|
-
interface GPUBindGroupLayout extends GPUObjectBase {
|
|
9678
|
-
}
|
|
9679
|
-
|
|
9680
|
-
declare var GPUBindGroupLayout: {
|
|
9681
|
-
prototype: GPUBindGroupLayout;
|
|
9682
|
-
new(): GPUBindGroupLayout;
|
|
9683
|
-
};
|
|
9684
|
-
|
|
9685
|
-
interface GPUBindingCommandsMixin {
|
|
9686
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
9687
|
-
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: GPUBufferDynamicOffset[]): void;
|
|
9688
|
-
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsetsData: Uint32Array, dynamicOffsetsDataStart: GPUSize64, dynamicOffsetsDataLength: GPUSize32): void;
|
|
9689
|
-
}
|
|
9690
|
-
|
|
9691
|
-
/**
|
|
9692
|
-
* Available only in secure contexts.
|
|
9693
|
-
*
|
|
9694
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
|
|
9695
|
-
*/
|
|
9696
|
-
interface GPUBuffer extends GPUObjectBase {
|
|
9697
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState) */
|
|
9698
|
-
readonly mapState: GPUBufferMapState;
|
|
9699
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size) */
|
|
9700
|
-
readonly size: GPUSize64Out;
|
|
9701
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage) */
|
|
9702
|
-
readonly usage: GPUFlagsConstant;
|
|
9703
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy) */
|
|
9704
|
-
destroy(): void;
|
|
9705
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange) */
|
|
9706
|
-
getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
|
|
9707
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync) */
|
|
9708
|
-
mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
|
|
9709
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap) */
|
|
9710
|
-
unmap(): void;
|
|
9711
|
-
}
|
|
9712
|
-
|
|
9713
|
-
declare var GPUBuffer: {
|
|
9714
|
-
prototype: GPUBuffer;
|
|
9715
|
-
new(): GPUBuffer;
|
|
9716
|
-
};
|
|
9717
|
-
|
|
9718
|
-
/**
|
|
9719
|
-
* Available only in secure contexts.
|
|
9720
|
-
*
|
|
9721
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext)
|
|
9722
|
-
*/
|
|
9723
|
-
interface GPUCanvasContext {
|
|
9724
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/canvas) */
|
|
9725
|
-
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
9726
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/configure) */
|
|
9727
|
-
configure(configuration: GPUCanvasConfiguration): void;
|
|
9728
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/getCurrentTexture) */
|
|
9729
|
-
getCurrentTexture(): GPUTexture;
|
|
9730
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/unconfigure) */
|
|
9731
|
-
unconfigure(): void;
|
|
9732
|
-
}
|
|
9733
|
-
|
|
9734
|
-
declare var GPUCanvasContext: {
|
|
9735
|
-
prototype: GPUCanvasContext;
|
|
9736
|
-
new(): GPUCanvasContext;
|
|
9737
|
-
};
|
|
9738
|
-
|
|
9739
|
-
/**
|
|
9740
|
-
* Available only in secure contexts.
|
|
9741
|
-
*
|
|
9742
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandBuffer)
|
|
9743
|
-
*/
|
|
9744
|
-
interface GPUCommandBuffer extends GPUObjectBase {
|
|
9745
|
-
}
|
|
9746
|
-
|
|
9747
|
-
declare var GPUCommandBuffer: {
|
|
9748
|
-
prototype: GPUCommandBuffer;
|
|
9749
|
-
new(): GPUCommandBuffer;
|
|
9750
|
-
};
|
|
9751
|
-
|
|
9752
|
-
/**
|
|
9753
|
-
* Available only in secure contexts.
|
|
9754
|
-
*
|
|
9755
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder)
|
|
9756
|
-
*/
|
|
9757
|
-
interface GPUCommandEncoder extends GPUDebugCommandsMixin, GPUObjectBase {
|
|
9758
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginComputePass) */
|
|
9759
|
-
beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder;
|
|
9760
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginRenderPass) */
|
|
9761
|
-
beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder;
|
|
9762
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/clearBuffer) */
|
|
9763
|
-
clearBuffer(buffer: GPUBuffer, offset?: GPUSize64, size?: GPUSize64): void;
|
|
9764
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer) */
|
|
9765
|
-
copyBufferToBuffer(source: GPUBuffer, sourceOffset: GPUSize64, destination: GPUBuffer, destinationOffset: GPUSize64, size: GPUSize64): void;
|
|
9766
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
|
|
9767
|
-
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
|
|
9768
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
|
|
9769
|
-
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: GPUExtent3D): void;
|
|
9770
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
|
|
9771
|
-
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
|
|
9772
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/finish) */
|
|
9773
|
-
finish(descriptor?: GPUCommandBufferDescriptor): GPUCommandBuffer;
|
|
9774
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/resolveQuerySet) */
|
|
9775
|
-
resolveQuerySet(querySet: GPUQuerySet, firstQuery: GPUSize32, queryCount: GPUSize32, destination: GPUBuffer, destinationOffset: GPUSize64): void;
|
|
9776
|
-
}
|
|
9777
|
-
|
|
9778
|
-
declare var GPUCommandEncoder: {
|
|
9779
|
-
prototype: GPUCommandEncoder;
|
|
9780
|
-
new(): GPUCommandEncoder;
|
|
9781
|
-
};
|
|
9782
|
-
|
|
9783
|
-
/**
|
|
9784
|
-
* Available only in secure contexts.
|
|
9785
|
-
*
|
|
9786
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
|
|
9787
|
-
*/
|
|
9788
|
-
interface GPUCompilationInfo {
|
|
9789
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages) */
|
|
9790
|
-
readonly messages: ReadonlyArray<GPUCompilationMessage>;
|
|
9791
|
-
}
|
|
9792
|
-
|
|
9793
|
-
declare var GPUCompilationInfo: {
|
|
9794
|
-
prototype: GPUCompilationInfo;
|
|
9795
|
-
new(): GPUCompilationInfo;
|
|
9796
|
-
};
|
|
9797
|
-
|
|
9798
|
-
/**
|
|
9799
|
-
* Available only in secure contexts.
|
|
9800
|
-
*
|
|
9801
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
|
|
9802
|
-
*/
|
|
9803
|
-
interface GPUCompilationMessage {
|
|
9804
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length) */
|
|
9805
|
-
readonly length: number;
|
|
9806
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum) */
|
|
9807
|
-
readonly lineNum: number;
|
|
9808
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos) */
|
|
9809
|
-
readonly linePos: number;
|
|
9810
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message) */
|
|
9811
|
-
readonly message: string;
|
|
9812
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset) */
|
|
9813
|
-
readonly offset: number;
|
|
9814
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type) */
|
|
9815
|
-
readonly type: GPUCompilationMessageType;
|
|
9816
|
-
}
|
|
9817
|
-
|
|
9818
|
-
declare var GPUCompilationMessage: {
|
|
9819
|
-
prototype: GPUCompilationMessage;
|
|
9820
|
-
new(): GPUCompilationMessage;
|
|
9821
|
-
};
|
|
9822
|
-
|
|
9823
|
-
/**
|
|
9824
|
-
* Available only in secure contexts.
|
|
9825
|
-
*
|
|
9826
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder)
|
|
9827
|
-
*/
|
|
9828
|
-
interface GPUComputePassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase {
|
|
9829
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups) */
|
|
9830
|
-
dispatchWorkgroups(workgroupCountX: GPUSize32, workgroupCountY?: GPUSize32, workgroupCountZ?: GPUSize32): void;
|
|
9831
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect) */
|
|
9832
|
-
dispatchWorkgroupsIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
9833
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/end) */
|
|
9834
|
-
end(): void;
|
|
9835
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setPipeline) */
|
|
9836
|
-
setPipeline(pipeline: GPUComputePipeline): void;
|
|
9837
|
-
}
|
|
9838
|
-
|
|
9839
|
-
declare var GPUComputePassEncoder: {
|
|
9840
|
-
prototype: GPUComputePassEncoder;
|
|
9841
|
-
new(): GPUComputePassEncoder;
|
|
9842
|
-
};
|
|
9843
|
-
|
|
9844
|
-
/**
|
|
9845
|
-
* Available only in secure contexts.
|
|
9846
|
-
*
|
|
9847
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline)
|
|
9848
|
-
*/
|
|
9849
|
-
interface GPUComputePipeline extends GPUObjectBase, GPUPipelineBase {
|
|
9850
|
-
}
|
|
9851
|
-
|
|
9852
|
-
declare var GPUComputePipeline: {
|
|
9853
|
-
prototype: GPUComputePipeline;
|
|
9854
|
-
new(): GPUComputePipeline;
|
|
9855
|
-
};
|
|
9856
|
-
|
|
9857
|
-
interface GPUDebugCommandsMixin {
|
|
9858
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/insertDebugMarker) */
|
|
9859
|
-
insertDebugMarker(markerLabel: string): void;
|
|
9860
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/popDebugGroup) */
|
|
9861
|
-
popDebugGroup(): void;
|
|
9862
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/pushDebugGroup) */
|
|
9863
|
-
pushDebugGroup(groupLabel: string): void;
|
|
9864
|
-
}
|
|
9865
|
-
|
|
9866
|
-
/**
|
|
9867
|
-
* Available only in secure contexts.
|
|
9868
|
-
*
|
|
9869
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice)
|
|
9870
|
-
*/
|
|
9871
|
-
interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
9872
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/features) */
|
|
9873
|
-
readonly features: GPUSupportedFeatures;
|
|
9874
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/limits) */
|
|
9875
|
-
readonly limits: GPUSupportedLimits;
|
|
9876
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/lost) */
|
|
9877
|
-
readonly lost: Promise<GPUDeviceLostInfo>;
|
|
9878
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/queue) */
|
|
9879
|
-
readonly queue: GPUQueue;
|
|
9880
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup) */
|
|
9881
|
-
createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
|
|
9882
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout) */
|
|
9883
|
-
createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
|
|
9884
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBuffer) */
|
|
9885
|
-
createBuffer(descriptor: GPUBufferDescriptor): GPUBuffer;
|
|
9886
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createCommandEncoder) */
|
|
9887
|
-
createCommandEncoder(descriptor?: GPUCommandEncoderDescriptor): GPUCommandEncoder;
|
|
9888
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipeline) */
|
|
9889
|
-
createComputePipeline(descriptor: GPUComputePipelineDescriptor): GPUComputePipeline;
|
|
9890
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipelineAsync) */
|
|
9891
|
-
createComputePipelineAsync(descriptor: GPUComputePipelineDescriptor): Promise<GPUComputePipeline>;
|
|
9892
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createPipelineLayout) */
|
|
9893
|
-
createPipelineLayout(descriptor: GPUPipelineLayoutDescriptor): GPUPipelineLayout;
|
|
9894
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createQuerySet) */
|
|
9895
|
-
createQuerySet(descriptor: GPUQuerySetDescriptor): GPUQuerySet;
|
|
9896
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderBundleEncoder) */
|
|
9897
|
-
createRenderBundleEncoder(descriptor: GPURenderBundleEncoderDescriptor): GPURenderBundleEncoder;
|
|
9898
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipeline) */
|
|
9899
|
-
createRenderPipeline(descriptor: GPURenderPipelineDescriptor): GPURenderPipeline;
|
|
9900
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipelineAsync) */
|
|
9901
|
-
createRenderPipelineAsync(descriptor: GPURenderPipelineDescriptor): Promise<GPURenderPipeline>;
|
|
9902
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler) */
|
|
9903
|
-
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
9904
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule) */
|
|
9905
|
-
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
9906
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture) */
|
|
9907
|
-
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
9908
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/destroy) */
|
|
9909
|
-
destroy(): void;
|
|
9910
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/importExternalTexture) */
|
|
9911
|
-
importExternalTexture(descriptor: GPUExternalTextureDescriptor): GPUExternalTexture;
|
|
9912
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/popErrorScope) */
|
|
9913
|
-
popErrorScope(): Promise<GPUError | null>;
|
|
9914
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/pushErrorScope) */
|
|
9915
|
-
pushErrorScope(filter: GPUErrorFilter): void;
|
|
9916
|
-
}
|
|
9917
|
-
|
|
9918
|
-
declare var GPUDevice: {
|
|
9919
|
-
prototype: GPUDevice;
|
|
9920
|
-
new(): GPUDevice;
|
|
9921
|
-
};
|
|
9922
|
-
|
|
9923
|
-
/**
|
|
9924
|
-
* Available only in secure contexts.
|
|
9925
|
-
*
|
|
9926
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo)
|
|
9927
|
-
*/
|
|
9928
|
-
interface GPUDeviceLostInfo {
|
|
9929
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/message) */
|
|
9930
|
-
readonly message: string;
|
|
9931
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/reason) */
|
|
9932
|
-
readonly reason: GPUDeviceLostReason;
|
|
9933
|
-
}
|
|
9934
|
-
|
|
9935
|
-
declare var GPUDeviceLostInfo: {
|
|
9936
|
-
prototype: GPUDeviceLostInfo;
|
|
9937
|
-
new(): GPUDeviceLostInfo;
|
|
9938
|
-
};
|
|
9939
|
-
|
|
9940
9250
|
/**
|
|
9941
9251
|
* Available only in secure contexts.
|
|
9942
9252
|
*
|
|
@@ -9947,403 +9257,6 @@ interface GPUError {
|
|
|
9947
9257
|
readonly message: string;
|
|
9948
9258
|
}
|
|
9949
9259
|
|
|
9950
|
-
/**
|
|
9951
|
-
* Available only in secure contexts.
|
|
9952
|
-
*
|
|
9953
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUExternalTexture)
|
|
9954
|
-
*/
|
|
9955
|
-
interface GPUExternalTexture extends GPUObjectBase {
|
|
9956
|
-
}
|
|
9957
|
-
|
|
9958
|
-
declare var GPUExternalTexture: {
|
|
9959
|
-
prototype: GPUExternalTexture;
|
|
9960
|
-
new(): GPUExternalTexture;
|
|
9961
|
-
};
|
|
9962
|
-
|
|
9963
|
-
/**
|
|
9964
|
-
* Available only in secure contexts.
|
|
9965
|
-
*
|
|
9966
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUInternalError)
|
|
9967
|
-
*/
|
|
9968
|
-
interface GPUInternalError extends GPUError {
|
|
9969
|
-
}
|
|
9970
|
-
|
|
9971
|
-
declare var GPUInternalError: {
|
|
9972
|
-
prototype: GPUInternalError;
|
|
9973
|
-
new(message: string): GPUInternalError;
|
|
9974
|
-
};
|
|
9975
|
-
|
|
9976
|
-
interface GPUObjectBase {
|
|
9977
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup/label) */
|
|
9978
|
-
label: string;
|
|
9979
|
-
}
|
|
9980
|
-
|
|
9981
|
-
/**
|
|
9982
|
-
* Available only in secure contexts.
|
|
9983
|
-
*
|
|
9984
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUOutOfMemoryError)
|
|
9985
|
-
*/
|
|
9986
|
-
interface GPUOutOfMemoryError extends GPUError {
|
|
9987
|
-
}
|
|
9988
|
-
|
|
9989
|
-
declare var GPUOutOfMemoryError: {
|
|
9990
|
-
prototype: GPUOutOfMemoryError;
|
|
9991
|
-
new(message: string): GPUOutOfMemoryError;
|
|
9992
|
-
};
|
|
9993
|
-
|
|
9994
|
-
interface GPUPipelineBase {
|
|
9995
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline/getBindGroupLayout) */
|
|
9996
|
-
getBindGroupLayout(index: number): GPUBindGroupLayout;
|
|
9997
|
-
}
|
|
9998
|
-
|
|
9999
|
-
/**
|
|
10000
|
-
* Available only in secure contexts.
|
|
10001
|
-
*
|
|
10002
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
10003
|
-
*/
|
|
10004
|
-
interface GPUPipelineError extends DOMException {
|
|
10005
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason) */
|
|
10006
|
-
readonly reason: GPUPipelineErrorReason;
|
|
10007
|
-
}
|
|
10008
|
-
|
|
10009
|
-
declare var GPUPipelineError: {
|
|
10010
|
-
prototype: GPUPipelineError;
|
|
10011
|
-
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
10012
|
-
};
|
|
10013
|
-
|
|
10014
|
-
/**
|
|
10015
|
-
* Available only in secure contexts.
|
|
10016
|
-
*
|
|
10017
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineLayout)
|
|
10018
|
-
*/
|
|
10019
|
-
interface GPUPipelineLayout extends GPUObjectBase {
|
|
10020
|
-
}
|
|
10021
|
-
|
|
10022
|
-
declare var GPUPipelineLayout: {
|
|
10023
|
-
prototype: GPUPipelineLayout;
|
|
10024
|
-
new(): GPUPipelineLayout;
|
|
10025
|
-
};
|
|
10026
|
-
|
|
10027
|
-
/**
|
|
10028
|
-
* Available only in secure contexts.
|
|
10029
|
-
*
|
|
10030
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
|
|
10031
|
-
*/
|
|
10032
|
-
interface GPUQuerySet extends GPUObjectBase {
|
|
10033
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count) */
|
|
10034
|
-
readonly count: GPUSize32Out;
|
|
10035
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type) */
|
|
10036
|
-
readonly type: GPUQueryType;
|
|
10037
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy) */
|
|
10038
|
-
destroy(): void;
|
|
10039
|
-
}
|
|
10040
|
-
|
|
10041
|
-
declare var GPUQuerySet: {
|
|
10042
|
-
prototype: GPUQuerySet;
|
|
10043
|
-
new(): GPUQuerySet;
|
|
10044
|
-
};
|
|
10045
|
-
|
|
10046
|
-
/**
|
|
10047
|
-
* Available only in secure contexts.
|
|
10048
|
-
*
|
|
10049
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue)
|
|
10050
|
-
*/
|
|
10051
|
-
interface GPUQueue extends GPUObjectBase {
|
|
10052
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
|
|
10053
|
-
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: GPUExtent3D): void;
|
|
10054
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/onSubmittedWorkDone) */
|
|
10055
|
-
onSubmittedWorkDone(): Promise<void>;
|
|
10056
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
|
|
10057
|
-
submit(commandBuffers: GPUCommandBuffer[]): void;
|
|
10058
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeBuffer) */
|
|
10059
|
-
writeBuffer(buffer: GPUBuffer, bufferOffset: GPUSize64, data: AllowSharedBufferSource, dataOffset?: GPUSize64, size?: GPUSize64): void;
|
|
10060
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
|
|
10061
|
-
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: GPUExtent3D): void;
|
|
10062
|
-
}
|
|
10063
|
-
|
|
10064
|
-
declare var GPUQueue: {
|
|
10065
|
-
prototype: GPUQueue;
|
|
10066
|
-
new(): GPUQueue;
|
|
10067
|
-
};
|
|
10068
|
-
|
|
10069
|
-
/**
|
|
10070
|
-
* Available only in secure contexts.
|
|
10071
|
-
*
|
|
10072
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundle)
|
|
10073
|
-
*/
|
|
10074
|
-
interface GPURenderBundle extends GPUObjectBase {
|
|
10075
|
-
}
|
|
10076
|
-
|
|
10077
|
-
declare var GPURenderBundle: {
|
|
10078
|
-
prototype: GPURenderBundle;
|
|
10079
|
-
new(): GPURenderBundle;
|
|
10080
|
-
};
|
|
10081
|
-
|
|
10082
|
-
/**
|
|
10083
|
-
* Available only in secure contexts.
|
|
10084
|
-
*
|
|
10085
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder)
|
|
10086
|
-
*/
|
|
10087
|
-
interface GPURenderBundleEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
|
|
10088
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/finish) */
|
|
10089
|
-
finish(descriptor?: GPURenderBundleDescriptor): GPURenderBundle;
|
|
10090
|
-
}
|
|
10091
|
-
|
|
10092
|
-
declare var GPURenderBundleEncoder: {
|
|
10093
|
-
prototype: GPURenderBundleEncoder;
|
|
10094
|
-
new(): GPURenderBundleEncoder;
|
|
10095
|
-
};
|
|
10096
|
-
|
|
10097
|
-
interface GPURenderCommandsMixin {
|
|
10098
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/draw) */
|
|
10099
|
-
draw(vertexCount: GPUSize32, instanceCount?: GPUSize32, firstVertex?: GPUSize32, firstInstance?: GPUSize32): void;
|
|
10100
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexed) */
|
|
10101
|
-
drawIndexed(indexCount: GPUSize32, instanceCount?: GPUSize32, firstIndex?: GPUSize32, baseVertex?: GPUSignedOffset32, firstInstance?: GPUSize32): void;
|
|
10102
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect) */
|
|
10103
|
-
drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
10104
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndirect) */
|
|
10105
|
-
drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
10106
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer) */
|
|
10107
|
-
setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: GPUSize64, size?: GPUSize64): void;
|
|
10108
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setPipeline) */
|
|
10109
|
-
setPipeline(pipeline: GPURenderPipeline): void;
|
|
10110
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer) */
|
|
10111
|
-
setVertexBuffer(slot: GPUIndex32, buffer: GPUBuffer | null, offset?: GPUSize64, size?: GPUSize64): void;
|
|
10112
|
-
}
|
|
10113
|
-
|
|
10114
|
-
/**
|
|
10115
|
-
* Available only in secure contexts.
|
|
10116
|
-
*
|
|
10117
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder)
|
|
10118
|
-
*/
|
|
10119
|
-
interface GPURenderPassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
|
|
10120
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/beginOcclusionQuery) */
|
|
10121
|
-
beginOcclusionQuery(queryIndex: GPUSize32): void;
|
|
10122
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/end) */
|
|
10123
|
-
end(): void;
|
|
10124
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/endOcclusionQuery) */
|
|
10125
|
-
endOcclusionQuery(): void;
|
|
10126
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
|
|
10127
|
-
executeBundles(bundles: GPURenderBundle[]): void;
|
|
10128
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
|
|
10129
|
-
setBlendConstant(color: GPUColor): void;
|
|
10130
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setScissorRect) */
|
|
10131
|
-
setScissorRect(x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate): void;
|
|
10132
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setStencilReference) */
|
|
10133
|
-
setStencilReference(reference: GPUStencilValue): void;
|
|
10134
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setViewport) */
|
|
10135
|
-
setViewport(x: number, y: number, width: number, height: number, minDepth: number, maxDepth: number): void;
|
|
10136
|
-
}
|
|
10137
|
-
|
|
10138
|
-
declare var GPURenderPassEncoder: {
|
|
10139
|
-
prototype: GPURenderPassEncoder;
|
|
10140
|
-
new(): GPURenderPassEncoder;
|
|
10141
|
-
};
|
|
10142
|
-
|
|
10143
|
-
/**
|
|
10144
|
-
* Available only in secure contexts.
|
|
10145
|
-
*
|
|
10146
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPipeline)
|
|
10147
|
-
*/
|
|
10148
|
-
interface GPURenderPipeline extends GPUObjectBase, GPUPipelineBase {
|
|
10149
|
-
}
|
|
10150
|
-
|
|
10151
|
-
declare var GPURenderPipeline: {
|
|
10152
|
-
prototype: GPURenderPipeline;
|
|
10153
|
-
new(): GPURenderPipeline;
|
|
10154
|
-
};
|
|
10155
|
-
|
|
10156
|
-
/**
|
|
10157
|
-
* Available only in secure contexts.
|
|
10158
|
-
*
|
|
10159
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSampler)
|
|
10160
|
-
*/
|
|
10161
|
-
interface GPUSampler extends GPUObjectBase {
|
|
10162
|
-
}
|
|
10163
|
-
|
|
10164
|
-
declare var GPUSampler: {
|
|
10165
|
-
prototype: GPUSampler;
|
|
10166
|
-
new(): GPUSampler;
|
|
10167
|
-
};
|
|
10168
|
-
|
|
10169
|
-
/**
|
|
10170
|
-
* Available only in secure contexts.
|
|
10171
|
-
*
|
|
10172
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
|
|
10173
|
-
*/
|
|
10174
|
-
interface GPUShaderModule extends GPUObjectBase {
|
|
10175
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo) */
|
|
10176
|
-
getCompilationInfo(): Promise<GPUCompilationInfo>;
|
|
10177
|
-
}
|
|
10178
|
-
|
|
10179
|
-
declare var GPUShaderModule: {
|
|
10180
|
-
prototype: GPUShaderModule;
|
|
10181
|
-
new(): GPUShaderModule;
|
|
10182
|
-
};
|
|
10183
|
-
|
|
10184
|
-
/**
|
|
10185
|
-
* Available only in secure contexts.
|
|
10186
|
-
*
|
|
10187
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedFeatures)
|
|
10188
|
-
*/
|
|
10189
|
-
interface GPUSupportedFeatures {
|
|
10190
|
-
forEach(callbackfn: (value: string, key: string, parent: GPUSupportedFeatures) => void, thisArg?: any): void;
|
|
10191
|
-
}
|
|
10192
|
-
|
|
10193
|
-
declare var GPUSupportedFeatures: {
|
|
10194
|
-
prototype: GPUSupportedFeatures;
|
|
10195
|
-
new(): GPUSupportedFeatures;
|
|
10196
|
-
};
|
|
10197
|
-
|
|
10198
|
-
/**
|
|
10199
|
-
* Available only in secure contexts.
|
|
10200
|
-
*
|
|
10201
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits)
|
|
10202
|
-
*/
|
|
10203
|
-
interface GPUSupportedLimits {
|
|
10204
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10205
|
-
readonly maxBindGroups: number;
|
|
10206
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10207
|
-
readonly maxBindGroupsPlusVertexBuffers: number;
|
|
10208
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10209
|
-
readonly maxBindingsPerBindGroup: number;
|
|
10210
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10211
|
-
readonly maxBufferSize: number;
|
|
10212
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10213
|
-
readonly maxColorAttachmentBytesPerSample: number;
|
|
10214
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10215
|
-
readonly maxColorAttachments: number;
|
|
10216
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10217
|
-
readonly maxComputeInvocationsPerWorkgroup: number;
|
|
10218
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10219
|
-
readonly maxComputeWorkgroupSizeX: number;
|
|
10220
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10221
|
-
readonly maxComputeWorkgroupSizeY: number;
|
|
10222
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10223
|
-
readonly maxComputeWorkgroupSizeZ: number;
|
|
10224
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10225
|
-
readonly maxComputeWorkgroupStorageSize: number;
|
|
10226
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10227
|
-
readonly maxComputeWorkgroupsPerDimension: number;
|
|
10228
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10229
|
-
readonly maxDynamicStorageBuffersPerPipelineLayout: number;
|
|
10230
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10231
|
-
readonly maxDynamicUniformBuffersPerPipelineLayout: number;
|
|
10232
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10233
|
-
readonly maxInterStageShaderVariables: number;
|
|
10234
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10235
|
-
readonly maxSampledTexturesPerShaderStage: number;
|
|
10236
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10237
|
-
readonly maxSamplersPerShaderStage: number;
|
|
10238
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10239
|
-
readonly maxStorageBufferBindingSize: number;
|
|
10240
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10241
|
-
readonly maxStorageBuffersPerShaderStage: number;
|
|
10242
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10243
|
-
readonly maxStorageTexturesPerShaderStage: number;
|
|
10244
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10245
|
-
readonly maxTextureArrayLayers: number;
|
|
10246
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10247
|
-
readonly maxTextureDimension1D: number;
|
|
10248
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10249
|
-
readonly maxTextureDimension2D: number;
|
|
10250
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10251
|
-
readonly maxTextureDimension3D: number;
|
|
10252
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10253
|
-
readonly maxUniformBufferBindingSize: number;
|
|
10254
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10255
|
-
readonly maxUniformBuffersPerShaderStage: number;
|
|
10256
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10257
|
-
readonly maxVertexAttributes: number;
|
|
10258
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10259
|
-
readonly maxVertexBufferArrayStride: number;
|
|
10260
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10261
|
-
readonly maxVertexBuffers: number;
|
|
10262
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10263
|
-
readonly minStorageBufferOffsetAlignment: number;
|
|
10264
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10265
|
-
readonly minUniformBufferOffsetAlignment: number;
|
|
10266
|
-
}
|
|
10267
|
-
|
|
10268
|
-
declare var GPUSupportedLimits: {
|
|
10269
|
-
prototype: GPUSupportedLimits;
|
|
10270
|
-
new(): GPUSupportedLimits;
|
|
10271
|
-
};
|
|
10272
|
-
|
|
10273
|
-
/**
|
|
10274
|
-
* Available only in secure contexts.
|
|
10275
|
-
*
|
|
10276
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture)
|
|
10277
|
-
*/
|
|
10278
|
-
interface GPUTexture extends GPUObjectBase {
|
|
10279
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/depthOrArrayLayers) */
|
|
10280
|
-
readonly depthOrArrayLayers: GPUIntegerCoordinateOut;
|
|
10281
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/dimension) */
|
|
10282
|
-
readonly dimension: GPUTextureDimension;
|
|
10283
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/format) */
|
|
10284
|
-
readonly format: GPUTextureFormat;
|
|
10285
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/height) */
|
|
10286
|
-
readonly height: GPUIntegerCoordinateOut;
|
|
10287
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/mipLevelCount) */
|
|
10288
|
-
readonly mipLevelCount: GPUIntegerCoordinateOut;
|
|
10289
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/sampleCount) */
|
|
10290
|
-
readonly sampleCount: GPUSize32Out;
|
|
10291
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/usage) */
|
|
10292
|
-
readonly usage: GPUFlagsConstant;
|
|
10293
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/width) */
|
|
10294
|
-
readonly width: GPUIntegerCoordinateOut;
|
|
10295
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/createView) */
|
|
10296
|
-
createView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
10297
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/destroy) */
|
|
10298
|
-
destroy(): void;
|
|
10299
|
-
}
|
|
10300
|
-
|
|
10301
|
-
declare var GPUTexture: {
|
|
10302
|
-
prototype: GPUTexture;
|
|
10303
|
-
new(): GPUTexture;
|
|
10304
|
-
};
|
|
10305
|
-
|
|
10306
|
-
/**
|
|
10307
|
-
* Available only in secure contexts.
|
|
10308
|
-
*
|
|
10309
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTextureView)
|
|
10310
|
-
*/
|
|
10311
|
-
interface GPUTextureView extends GPUObjectBase {
|
|
10312
|
-
}
|
|
10313
|
-
|
|
10314
|
-
declare var GPUTextureView: {
|
|
10315
|
-
prototype: GPUTextureView;
|
|
10316
|
-
new(): GPUTextureView;
|
|
10317
|
-
};
|
|
10318
|
-
|
|
10319
|
-
/**
|
|
10320
|
-
* Available only in secure contexts.
|
|
10321
|
-
*
|
|
10322
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent)
|
|
10323
|
-
*/
|
|
10324
|
-
interface GPUUncapturedErrorEvent extends Event {
|
|
10325
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent/error) */
|
|
10326
|
-
readonly error: GPUError;
|
|
10327
|
-
}
|
|
10328
|
-
|
|
10329
|
-
declare var GPUUncapturedErrorEvent: {
|
|
10330
|
-
prototype: GPUUncapturedErrorEvent;
|
|
10331
|
-
new(type: string, gpuUncapturedErrorEventInitDict: GPUUncapturedErrorEventInit): GPUUncapturedErrorEvent;
|
|
10332
|
-
};
|
|
10333
|
-
|
|
10334
|
-
/**
|
|
10335
|
-
* Available only in secure contexts.
|
|
10336
|
-
*
|
|
10337
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUValidationError)
|
|
10338
|
-
*/
|
|
10339
|
-
interface GPUValidationError extends GPUError {
|
|
10340
|
-
}
|
|
10341
|
-
|
|
10342
|
-
declare var GPUValidationError: {
|
|
10343
|
-
prototype: GPUValidationError;
|
|
10344
|
-
new(message: string): GPUValidationError;
|
|
10345
|
-
};
|
|
10346
|
-
|
|
10347
9260
|
/**
|
|
10348
9261
|
* 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.
|
|
10349
9262
|
*
|
|
@@ -11197,7 +10110,11 @@ declare var HTMLAnchorElement: {
|
|
|
11197
10110
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement)
|
|
11198
10111
|
*/
|
|
11199
10112
|
interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils {
|
|
11200
|
-
/**
|
|
10113
|
+
/**
|
|
10114
|
+
* Sets or retrieves a text alternative to the graphic.
|
|
10115
|
+
*
|
|
10116
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt)
|
|
10117
|
+
*/
|
|
11201
10118
|
alt: string;
|
|
11202
10119
|
/** Sets or retrieves the coordinates of the object. */
|
|
11203
10120
|
coords: string;
|
|
@@ -11757,7 +10674,7 @@ interface HTMLElement extends Element, ElementCSSInlineStyle, ElementContentEdit
|
|
|
11757
10674
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/showPopover) */
|
|
11758
10675
|
showPopover(): void;
|
|
11759
10676
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/togglePopover) */
|
|
11760
|
-
togglePopover(
|
|
10677
|
+
togglePopover(options?: boolean): boolean;
|
|
11761
10678
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
11762
10679
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
11763
10680
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -13227,6 +12144,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
13227
12144
|
readonly networkState: number;
|
|
13228
12145
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */
|
|
13229
12146
|
onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;
|
|
12147
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */
|
|
13230
12148
|
onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;
|
|
13231
12149
|
/**
|
|
13232
12150
|
* Gets a flag that specifies whether playback is paused.
|
|
@@ -17743,7 +16661,7 @@ declare var NavigationPreloadManager: {
|
|
|
17743
16661
|
*
|
|
17744
16662
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
|
|
17745
16663
|
*/
|
|
17746
|
-
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies,
|
|
16664
|
+
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
17747
16665
|
/**
|
|
17748
16666
|
* Available only in secure contexts.
|
|
17749
16667
|
*
|
|
@@ -17852,15 +16770,6 @@ interface NavigatorCookies {
|
|
|
17852
16770
|
readonly cookieEnabled: boolean;
|
|
17853
16771
|
}
|
|
17854
16772
|
|
|
17855
|
-
interface NavigatorGPU {
|
|
17856
|
-
/**
|
|
17857
|
-
* Available only in secure contexts.
|
|
17858
|
-
*
|
|
17859
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
|
|
17860
|
-
*/
|
|
17861
|
-
readonly gpu: GPU;
|
|
17862
|
-
}
|
|
17863
|
-
|
|
17864
16773
|
interface NavigatorID {
|
|
17865
16774
|
/**
|
|
17866
16775
|
* @deprecated
|
|
@@ -25226,20 +24135,6 @@ interface WEBGL_multi_draw {
|
|
|
25226
24135
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
25227
24136
|
}
|
|
25228
24137
|
|
|
25229
|
-
/**
|
|
25230
|
-
* Available only in secure contexts.
|
|
25231
|
-
*
|
|
25232
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WGSLLanguageFeatures)
|
|
25233
|
-
*/
|
|
25234
|
-
interface WGSLLanguageFeatures {
|
|
25235
|
-
forEach(callbackfn: (value: string, key: string, parent: WGSLLanguageFeatures) => void, thisArg?: any): void;
|
|
25236
|
-
}
|
|
25237
|
-
|
|
25238
|
-
declare var WGSLLanguageFeatures: {
|
|
25239
|
-
prototype: WGSLLanguageFeatures;
|
|
25240
|
-
new(): WGSLLanguageFeatures;
|
|
25241
|
-
};
|
|
25242
|
-
|
|
25243
24138
|
/**
|
|
25244
24139
|
* Available only in secure contexts.
|
|
25245
24140
|
*
|
|
@@ -30198,31 +29093,6 @@ type GLsizei = number;
|
|
|
30198
29093
|
type GLsizeiptr = number;
|
|
30199
29094
|
type GLuint = number;
|
|
30200
29095
|
type GLuint64 = number;
|
|
30201
|
-
type GPUBindingResource = GPUSampler | GPUTextureView | GPUBufferBinding | GPUExternalTexture;
|
|
30202
|
-
type GPUBufferDynamicOffset = number;
|
|
30203
|
-
type GPUBufferUsageFlags = number;
|
|
30204
|
-
type GPUColor = number[] | GPUColorDict;
|
|
30205
|
-
type GPUColorWriteFlags = number;
|
|
30206
|
-
type GPUCopyExternalImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLVideoElement | VideoFrame | HTMLCanvasElement | OffscreenCanvas;
|
|
30207
|
-
type GPUDepthBias = number;
|
|
30208
|
-
type GPUExtent3D = GPUIntegerCoordinate[] | GPUExtent3DDict;
|
|
30209
|
-
type GPUFlagsConstant = number;
|
|
30210
|
-
type GPUIndex32 = number;
|
|
30211
|
-
type GPUIntegerCoordinate = number;
|
|
30212
|
-
type GPUIntegerCoordinateOut = number;
|
|
30213
|
-
type GPUMapModeFlags = number;
|
|
30214
|
-
type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
|
|
30215
|
-
type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
|
|
30216
|
-
type GPUPipelineConstantValue = number;
|
|
30217
|
-
type GPUSampleMask = number;
|
|
30218
|
-
type GPUShaderStageFlags = number;
|
|
30219
|
-
type GPUSignedOffset32 = number;
|
|
30220
|
-
type GPUSize32 = number;
|
|
30221
|
-
type GPUSize32Out = number;
|
|
30222
|
-
type GPUSize64 = number;
|
|
30223
|
-
type GPUSize64Out = number;
|
|
30224
|
-
type GPUStencilValue = number;
|
|
30225
|
-
type GPUTextureUsageFlags = number;
|
|
30226
29096
|
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
|
|
30227
29097
|
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
|
|
30228
29098
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
@@ -30236,7 +29106,7 @@ type MediaProvider = MediaStream | MediaSource | Blob;
|
|
|
30236
29106
|
type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
|
|
30237
29107
|
type MutationRecordType = "attributes" | "characterData" | "childList";
|
|
30238
29108
|
type NamedCurve = string;
|
|
30239
|
-
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext
|
|
29109
|
+
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30240
29110
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
30241
29111
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
30242
29112
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
@@ -30247,7 +29117,7 @@ type RTCRtpTransform = RTCRtpScriptTransform;
|
|
|
30247
29117
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
30248
29118
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
30249
29119
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
30250
|
-
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext
|
|
29120
|
+
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30251
29121
|
type ReportList = Report[];
|
|
30252
29122
|
type RequestInfo = Request | string;
|
|
30253
29123
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
@@ -30319,40 +29189,6 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
30319
29189
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
30320
29190
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
30321
29191
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
30322
|
-
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
30323
|
-
type GPUAutoLayoutMode = "auto";
|
|
30324
|
-
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";
|
|
30325
|
-
type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
|
|
30326
|
-
type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
|
|
30327
|
-
type GPUBufferMapState = "mapped" | "pending" | "unmapped";
|
|
30328
|
-
type GPUCanvasAlphaMode = "opaque" | "premultiplied";
|
|
30329
|
-
type GPUCanvasToneMappingMode = "extended" | "standard";
|
|
30330
|
-
type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal";
|
|
30331
|
-
type GPUCompilationMessageType = "error" | "info" | "warning";
|
|
30332
|
-
type GPUCullMode = "back" | "front" | "none";
|
|
30333
|
-
type GPUDeviceLostReason = "destroyed" | "unknown";
|
|
30334
|
-
type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
|
|
30335
|
-
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";
|
|
30336
|
-
type GPUFilterMode = "linear" | "nearest";
|
|
30337
|
-
type GPUFrontFace = "ccw" | "cw";
|
|
30338
|
-
type GPUIndexFormat = "uint16" | "uint32";
|
|
30339
|
-
type GPULoadOp = "clear" | "load";
|
|
30340
|
-
type GPUMipmapFilterMode = "linear" | "nearest";
|
|
30341
|
-
type GPUPipelineErrorReason = "internal" | "validation";
|
|
30342
|
-
type GPUPowerPreference = "high-performance" | "low-power";
|
|
30343
|
-
type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
|
|
30344
|
-
type GPUQueryType = "occlusion" | "timestamp";
|
|
30345
|
-
type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
|
|
30346
|
-
type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
|
|
30347
|
-
type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
|
|
30348
|
-
type GPUStoreOp = "discard" | "store";
|
|
30349
|
-
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
|
|
30350
|
-
type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
30351
|
-
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";
|
|
30352
|
-
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
30353
|
-
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
30354
|
-
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";
|
|
30355
|
-
type GPUVertexStepMode = "instance" | "vertex";
|
|
30356
29192
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
30357
29193
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
30358
29194
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|