@types/web 0.0.182 → 0.0.184
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 -1203
- package/iterable.d.ts +0 -36
- package/package.json +1 -1
- package/ts5.5/index.d.ts +29 -1203
- package/ts5.5/iterable.d.ts +0 -36
package/ts5.5/index.d.ts
CHANGED
|
@@ -661,369 +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
|
-
xrCompatible?: boolean;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
interface GPUSamplerBindingLayout {
|
|
931
|
-
type?: GPUSamplerBindingType;
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
935
|
-
addressModeU?: GPUAddressMode;
|
|
936
|
-
addressModeV?: GPUAddressMode;
|
|
937
|
-
addressModeW?: GPUAddressMode;
|
|
938
|
-
compare?: GPUCompareFunction;
|
|
939
|
-
lodMaxClamp?: number;
|
|
940
|
-
lodMinClamp?: number;
|
|
941
|
-
magFilter?: GPUFilterMode;
|
|
942
|
-
maxAnisotropy?: number;
|
|
943
|
-
minFilter?: GPUFilterMode;
|
|
944
|
-
mipmapFilter?: GPUMipmapFilterMode;
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
948
|
-
code: string;
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
interface GPUStencilFaceState {
|
|
952
|
-
compare?: GPUCompareFunction;
|
|
953
|
-
depthFailOp?: GPUStencilOperation;
|
|
954
|
-
failOp?: GPUStencilOperation;
|
|
955
|
-
passOp?: GPUStencilOperation;
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
interface GPUStorageTextureBindingLayout {
|
|
959
|
-
access?: GPUStorageTextureAccess;
|
|
960
|
-
format: GPUTextureFormat;
|
|
961
|
-
viewDimension?: GPUTextureViewDimension;
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
965
|
-
buffer: GPUBuffer;
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
interface GPUTexelCopyBufferLayout {
|
|
969
|
-
bytesPerRow?: GPUSize32;
|
|
970
|
-
offset?: GPUSize64;
|
|
971
|
-
rowsPerImage?: GPUSize32;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
interface GPUTexelCopyTextureInfo {
|
|
975
|
-
aspect?: GPUTextureAspect;
|
|
976
|
-
mipLevel?: GPUIntegerCoordinate;
|
|
977
|
-
origin?: GPUOrigin3D;
|
|
978
|
-
texture: GPUTexture;
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
interface GPUTextureBindingLayout {
|
|
982
|
-
multisampled?: boolean;
|
|
983
|
-
sampleType?: GPUTextureSampleType;
|
|
984
|
-
viewDimension?: GPUTextureViewDimension;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
988
|
-
dimension?: GPUTextureDimension;
|
|
989
|
-
format: GPUTextureFormat;
|
|
990
|
-
mipLevelCount?: GPUIntegerCoordinate;
|
|
991
|
-
sampleCount?: GPUSize32;
|
|
992
|
-
size: GPUExtent3D;
|
|
993
|
-
usage: GPUTextureUsageFlags;
|
|
994
|
-
viewFormats?: GPUTextureFormat[];
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
998
|
-
arrayLayerCount?: GPUIntegerCoordinate;
|
|
999
|
-
aspect?: GPUTextureAspect;
|
|
1000
|
-
baseArrayLayer?: GPUIntegerCoordinate;
|
|
1001
|
-
baseMipLevel?: GPUIntegerCoordinate;
|
|
1002
|
-
dimension?: GPUTextureViewDimension;
|
|
1003
|
-
format?: GPUTextureFormat;
|
|
1004
|
-
mipLevelCount?: GPUIntegerCoordinate;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
interface GPUUncapturedErrorEventInit extends EventInit {
|
|
1008
|
-
error: GPUError;
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
interface GPUVertexAttribute {
|
|
1012
|
-
format: GPUVertexFormat;
|
|
1013
|
-
offset: GPUSize64;
|
|
1014
|
-
shaderLocation: GPUIndex32;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
interface GPUVertexBufferLayout {
|
|
1018
|
-
arrayStride: GPUSize64;
|
|
1019
|
-
attributes: GPUVertexAttribute[];
|
|
1020
|
-
stepMode?: GPUVertexStepMode;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
interface GPUVertexState extends GPUProgrammableStage {
|
|
1024
|
-
buffers?: (GPUVertexBufferLayout | null)[];
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
664
|
interface GainOptions extends AudioNodeOptions {
|
|
1028
665
|
gain?: number;
|
|
1029
666
|
}
|
|
@@ -8036,7 +7673,11 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
8036
7673
|
createElementNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", qualifiedName: string): MathMLElement;
|
|
8037
7674
|
createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element;
|
|
8038
7675
|
createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element;
|
|
8039
|
-
/**
|
|
7676
|
+
/**
|
|
7677
|
+
* @deprecated
|
|
7678
|
+
*
|
|
7679
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/createEvent)
|
|
7680
|
+
*/
|
|
8040
7681
|
createEvent(eventInterface: "AnimationEvent"): AnimationEvent;
|
|
8041
7682
|
createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent;
|
|
8042
7683
|
createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent;
|
|
@@ -8056,7 +7697,6 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
8056
7697
|
createEvent(eventInterface: "FocusEvent"): FocusEvent;
|
|
8057
7698
|
createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;
|
|
8058
7699
|
createEvent(eventInterface: "FormDataEvent"): FormDataEvent;
|
|
8059
|
-
createEvent(eventInterface: "GPUUncapturedErrorEvent"): GPUUncapturedErrorEvent;
|
|
8060
7700
|
createEvent(eventInterface: "GamepadEvent"): GamepadEvent;
|
|
8061
7701
|
createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;
|
|
8062
7702
|
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
|
|
@@ -9607,350 +9247,6 @@ declare var FragmentDirective: {
|
|
|
9607
9247
|
new(): FragmentDirective;
|
|
9608
9248
|
};
|
|
9609
9249
|
|
|
9610
|
-
/**
|
|
9611
|
-
* Available only in secure contexts.
|
|
9612
|
-
*
|
|
9613
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
|
|
9614
|
-
*/
|
|
9615
|
-
interface GPU {
|
|
9616
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures) */
|
|
9617
|
-
readonly wgslLanguageFeatures: WGSLLanguageFeatures;
|
|
9618
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat) */
|
|
9619
|
-
getPreferredCanvasFormat(): GPUTextureFormat;
|
|
9620
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter) */
|
|
9621
|
-
requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
|
|
9622
|
-
}
|
|
9623
|
-
|
|
9624
|
-
declare var GPU: {
|
|
9625
|
-
prototype: GPU;
|
|
9626
|
-
new(): GPU;
|
|
9627
|
-
};
|
|
9628
|
-
|
|
9629
|
-
/**
|
|
9630
|
-
* Available only in secure contexts.
|
|
9631
|
-
*
|
|
9632
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
|
|
9633
|
-
*/
|
|
9634
|
-
interface GPUAdapter {
|
|
9635
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features) */
|
|
9636
|
-
readonly features: GPUSupportedFeatures;
|
|
9637
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info) */
|
|
9638
|
-
readonly info: GPUAdapterInfo;
|
|
9639
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/isFallbackAdapter) */
|
|
9640
|
-
readonly isFallbackAdapter: boolean;
|
|
9641
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits) */
|
|
9642
|
-
readonly limits: GPUSupportedLimits;
|
|
9643
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice) */
|
|
9644
|
-
requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
|
|
9645
|
-
}
|
|
9646
|
-
|
|
9647
|
-
declare var GPUAdapter: {
|
|
9648
|
-
prototype: GPUAdapter;
|
|
9649
|
-
new(): GPUAdapter;
|
|
9650
|
-
};
|
|
9651
|
-
|
|
9652
|
-
/**
|
|
9653
|
-
* Available only in secure contexts.
|
|
9654
|
-
*
|
|
9655
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
|
|
9656
|
-
*/
|
|
9657
|
-
interface GPUAdapterInfo {
|
|
9658
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) */
|
|
9659
|
-
readonly architecture: string;
|
|
9660
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) */
|
|
9661
|
-
readonly description: string;
|
|
9662
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) */
|
|
9663
|
-
readonly device: string;
|
|
9664
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) */
|
|
9665
|
-
readonly vendor: string;
|
|
9666
|
-
}
|
|
9667
|
-
|
|
9668
|
-
declare var GPUAdapterInfo: {
|
|
9669
|
-
prototype: GPUAdapterInfo;
|
|
9670
|
-
new(): GPUAdapterInfo;
|
|
9671
|
-
};
|
|
9672
|
-
|
|
9673
|
-
/**
|
|
9674
|
-
* Available only in secure contexts.
|
|
9675
|
-
*
|
|
9676
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup)
|
|
9677
|
-
*/
|
|
9678
|
-
interface GPUBindGroup extends GPUObjectBase {
|
|
9679
|
-
}
|
|
9680
|
-
|
|
9681
|
-
declare var GPUBindGroup: {
|
|
9682
|
-
prototype: GPUBindGroup;
|
|
9683
|
-
new(): GPUBindGroup;
|
|
9684
|
-
};
|
|
9685
|
-
|
|
9686
|
-
/**
|
|
9687
|
-
* Available only in secure contexts.
|
|
9688
|
-
*
|
|
9689
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroupLayout)
|
|
9690
|
-
*/
|
|
9691
|
-
interface GPUBindGroupLayout extends GPUObjectBase {
|
|
9692
|
-
}
|
|
9693
|
-
|
|
9694
|
-
declare var GPUBindGroupLayout: {
|
|
9695
|
-
prototype: GPUBindGroupLayout;
|
|
9696
|
-
new(): GPUBindGroupLayout;
|
|
9697
|
-
};
|
|
9698
|
-
|
|
9699
|
-
interface GPUBindingCommandsMixin {
|
|
9700
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
9701
|
-
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: GPUBufferDynamicOffset[]): void;
|
|
9702
|
-
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsetsData: Uint32Array, dynamicOffsetsDataStart: GPUSize64, dynamicOffsetsDataLength: GPUSize32): void;
|
|
9703
|
-
}
|
|
9704
|
-
|
|
9705
|
-
/**
|
|
9706
|
-
* Available only in secure contexts.
|
|
9707
|
-
*
|
|
9708
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
|
|
9709
|
-
*/
|
|
9710
|
-
interface GPUBuffer extends GPUObjectBase {
|
|
9711
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState) */
|
|
9712
|
-
readonly mapState: GPUBufferMapState;
|
|
9713
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size) */
|
|
9714
|
-
readonly size: GPUSize64Out;
|
|
9715
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage) */
|
|
9716
|
-
readonly usage: GPUFlagsConstant;
|
|
9717
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy) */
|
|
9718
|
-
destroy(): void;
|
|
9719
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange) */
|
|
9720
|
-
getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
|
|
9721
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync) */
|
|
9722
|
-
mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
|
|
9723
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap) */
|
|
9724
|
-
unmap(): void;
|
|
9725
|
-
}
|
|
9726
|
-
|
|
9727
|
-
declare var GPUBuffer: {
|
|
9728
|
-
prototype: GPUBuffer;
|
|
9729
|
-
new(): GPUBuffer;
|
|
9730
|
-
};
|
|
9731
|
-
|
|
9732
|
-
/**
|
|
9733
|
-
* Available only in secure contexts.
|
|
9734
|
-
*
|
|
9735
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext)
|
|
9736
|
-
*/
|
|
9737
|
-
interface GPUCanvasContext {
|
|
9738
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/canvas) */
|
|
9739
|
-
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
9740
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/configure) */
|
|
9741
|
-
configure(configuration: GPUCanvasConfiguration): void;
|
|
9742
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/getCurrentTexture) */
|
|
9743
|
-
getCurrentTexture(): GPUTexture;
|
|
9744
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/unconfigure) */
|
|
9745
|
-
unconfigure(): void;
|
|
9746
|
-
}
|
|
9747
|
-
|
|
9748
|
-
declare var GPUCanvasContext: {
|
|
9749
|
-
prototype: GPUCanvasContext;
|
|
9750
|
-
new(): GPUCanvasContext;
|
|
9751
|
-
};
|
|
9752
|
-
|
|
9753
|
-
/**
|
|
9754
|
-
* Available only in secure contexts.
|
|
9755
|
-
*
|
|
9756
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandBuffer)
|
|
9757
|
-
*/
|
|
9758
|
-
interface GPUCommandBuffer extends GPUObjectBase {
|
|
9759
|
-
}
|
|
9760
|
-
|
|
9761
|
-
declare var GPUCommandBuffer: {
|
|
9762
|
-
prototype: GPUCommandBuffer;
|
|
9763
|
-
new(): GPUCommandBuffer;
|
|
9764
|
-
};
|
|
9765
|
-
|
|
9766
|
-
/**
|
|
9767
|
-
* Available only in secure contexts.
|
|
9768
|
-
*
|
|
9769
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder)
|
|
9770
|
-
*/
|
|
9771
|
-
interface GPUCommandEncoder extends GPUDebugCommandsMixin, GPUObjectBase {
|
|
9772
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginComputePass) */
|
|
9773
|
-
beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder;
|
|
9774
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginRenderPass) */
|
|
9775
|
-
beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder;
|
|
9776
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/clearBuffer) */
|
|
9777
|
-
clearBuffer(buffer: GPUBuffer, offset?: GPUSize64, size?: GPUSize64): void;
|
|
9778
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer) */
|
|
9779
|
-
copyBufferToBuffer(source: GPUBuffer, sourceOffset: GPUSize64, destination: GPUBuffer, destinationOffset: GPUSize64, size: GPUSize64): void;
|
|
9780
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
|
|
9781
|
-
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
|
|
9782
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
|
|
9783
|
-
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: GPUExtent3D): void;
|
|
9784
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
|
|
9785
|
-
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
|
|
9786
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/finish) */
|
|
9787
|
-
finish(descriptor?: GPUCommandBufferDescriptor): GPUCommandBuffer;
|
|
9788
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/resolveQuerySet) */
|
|
9789
|
-
resolveQuerySet(querySet: GPUQuerySet, firstQuery: GPUSize32, queryCount: GPUSize32, destination: GPUBuffer, destinationOffset: GPUSize64): void;
|
|
9790
|
-
}
|
|
9791
|
-
|
|
9792
|
-
declare var GPUCommandEncoder: {
|
|
9793
|
-
prototype: GPUCommandEncoder;
|
|
9794
|
-
new(): GPUCommandEncoder;
|
|
9795
|
-
};
|
|
9796
|
-
|
|
9797
|
-
/**
|
|
9798
|
-
* Available only in secure contexts.
|
|
9799
|
-
*
|
|
9800
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
|
|
9801
|
-
*/
|
|
9802
|
-
interface GPUCompilationInfo {
|
|
9803
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages) */
|
|
9804
|
-
readonly messages: ReadonlyArray<GPUCompilationMessage>;
|
|
9805
|
-
}
|
|
9806
|
-
|
|
9807
|
-
declare var GPUCompilationInfo: {
|
|
9808
|
-
prototype: GPUCompilationInfo;
|
|
9809
|
-
new(): GPUCompilationInfo;
|
|
9810
|
-
};
|
|
9811
|
-
|
|
9812
|
-
/**
|
|
9813
|
-
* Available only in secure contexts.
|
|
9814
|
-
*
|
|
9815
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
|
|
9816
|
-
*/
|
|
9817
|
-
interface GPUCompilationMessage {
|
|
9818
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length) */
|
|
9819
|
-
readonly length: number;
|
|
9820
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum) */
|
|
9821
|
-
readonly lineNum: number;
|
|
9822
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos) */
|
|
9823
|
-
readonly linePos: number;
|
|
9824
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message) */
|
|
9825
|
-
readonly message: string;
|
|
9826
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset) */
|
|
9827
|
-
readonly offset: number;
|
|
9828
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type) */
|
|
9829
|
-
readonly type: GPUCompilationMessageType;
|
|
9830
|
-
}
|
|
9831
|
-
|
|
9832
|
-
declare var GPUCompilationMessage: {
|
|
9833
|
-
prototype: GPUCompilationMessage;
|
|
9834
|
-
new(): GPUCompilationMessage;
|
|
9835
|
-
};
|
|
9836
|
-
|
|
9837
|
-
/**
|
|
9838
|
-
* Available only in secure contexts.
|
|
9839
|
-
*
|
|
9840
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder)
|
|
9841
|
-
*/
|
|
9842
|
-
interface GPUComputePassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase {
|
|
9843
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups) */
|
|
9844
|
-
dispatchWorkgroups(workgroupCountX: GPUSize32, workgroupCountY?: GPUSize32, workgroupCountZ?: GPUSize32): void;
|
|
9845
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect) */
|
|
9846
|
-
dispatchWorkgroupsIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
9847
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/end) */
|
|
9848
|
-
end(): void;
|
|
9849
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setPipeline) */
|
|
9850
|
-
setPipeline(pipeline: GPUComputePipeline): void;
|
|
9851
|
-
}
|
|
9852
|
-
|
|
9853
|
-
declare var GPUComputePassEncoder: {
|
|
9854
|
-
prototype: GPUComputePassEncoder;
|
|
9855
|
-
new(): GPUComputePassEncoder;
|
|
9856
|
-
};
|
|
9857
|
-
|
|
9858
|
-
/**
|
|
9859
|
-
* Available only in secure contexts.
|
|
9860
|
-
*
|
|
9861
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline)
|
|
9862
|
-
*/
|
|
9863
|
-
interface GPUComputePipeline extends GPUObjectBase, GPUPipelineBase {
|
|
9864
|
-
}
|
|
9865
|
-
|
|
9866
|
-
declare var GPUComputePipeline: {
|
|
9867
|
-
prototype: GPUComputePipeline;
|
|
9868
|
-
new(): GPUComputePipeline;
|
|
9869
|
-
};
|
|
9870
|
-
|
|
9871
|
-
interface GPUDebugCommandsMixin {
|
|
9872
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/insertDebugMarker) */
|
|
9873
|
-
insertDebugMarker(markerLabel: string): void;
|
|
9874
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/popDebugGroup) */
|
|
9875
|
-
popDebugGroup(): void;
|
|
9876
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/pushDebugGroup) */
|
|
9877
|
-
pushDebugGroup(groupLabel: string): void;
|
|
9878
|
-
}
|
|
9879
|
-
|
|
9880
|
-
/**
|
|
9881
|
-
* Available only in secure contexts.
|
|
9882
|
-
*
|
|
9883
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice)
|
|
9884
|
-
*/
|
|
9885
|
-
interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
9886
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/features) */
|
|
9887
|
-
readonly features: GPUSupportedFeatures;
|
|
9888
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/limits) */
|
|
9889
|
-
readonly limits: GPUSupportedLimits;
|
|
9890
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/lost) */
|
|
9891
|
-
readonly lost: Promise<GPUDeviceLostInfo>;
|
|
9892
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/queue) */
|
|
9893
|
-
readonly queue: GPUQueue;
|
|
9894
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup) */
|
|
9895
|
-
createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
|
|
9896
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout) */
|
|
9897
|
-
createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
|
|
9898
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBuffer) */
|
|
9899
|
-
createBuffer(descriptor: GPUBufferDescriptor): GPUBuffer;
|
|
9900
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createCommandEncoder) */
|
|
9901
|
-
createCommandEncoder(descriptor?: GPUCommandEncoderDescriptor): GPUCommandEncoder;
|
|
9902
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipeline) */
|
|
9903
|
-
createComputePipeline(descriptor: GPUComputePipelineDescriptor): GPUComputePipeline;
|
|
9904
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipelineAsync) */
|
|
9905
|
-
createComputePipelineAsync(descriptor: GPUComputePipelineDescriptor): Promise<GPUComputePipeline>;
|
|
9906
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createPipelineLayout) */
|
|
9907
|
-
createPipelineLayout(descriptor: GPUPipelineLayoutDescriptor): GPUPipelineLayout;
|
|
9908
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createQuerySet) */
|
|
9909
|
-
createQuerySet(descriptor: GPUQuerySetDescriptor): GPUQuerySet;
|
|
9910
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderBundleEncoder) */
|
|
9911
|
-
createRenderBundleEncoder(descriptor: GPURenderBundleEncoderDescriptor): GPURenderBundleEncoder;
|
|
9912
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipeline) */
|
|
9913
|
-
createRenderPipeline(descriptor: GPURenderPipelineDescriptor): GPURenderPipeline;
|
|
9914
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipelineAsync) */
|
|
9915
|
-
createRenderPipelineAsync(descriptor: GPURenderPipelineDescriptor): Promise<GPURenderPipeline>;
|
|
9916
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler) */
|
|
9917
|
-
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
9918
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule) */
|
|
9919
|
-
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
9920
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture) */
|
|
9921
|
-
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
9922
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/destroy) */
|
|
9923
|
-
destroy(): void;
|
|
9924
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/importExternalTexture) */
|
|
9925
|
-
importExternalTexture(descriptor: GPUExternalTextureDescriptor): GPUExternalTexture;
|
|
9926
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/popErrorScope) */
|
|
9927
|
-
popErrorScope(): Promise<GPUError | null>;
|
|
9928
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/pushErrorScope) */
|
|
9929
|
-
pushErrorScope(filter: GPUErrorFilter): void;
|
|
9930
|
-
}
|
|
9931
|
-
|
|
9932
|
-
declare var GPUDevice: {
|
|
9933
|
-
prototype: GPUDevice;
|
|
9934
|
-
new(): GPUDevice;
|
|
9935
|
-
};
|
|
9936
|
-
|
|
9937
|
-
/**
|
|
9938
|
-
* Available only in secure contexts.
|
|
9939
|
-
*
|
|
9940
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo)
|
|
9941
|
-
*/
|
|
9942
|
-
interface GPUDeviceLostInfo {
|
|
9943
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/message) */
|
|
9944
|
-
readonly message: string;
|
|
9945
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/reason) */
|
|
9946
|
-
readonly reason: GPUDeviceLostReason;
|
|
9947
|
-
}
|
|
9948
|
-
|
|
9949
|
-
declare var GPUDeviceLostInfo: {
|
|
9950
|
-
prototype: GPUDeviceLostInfo;
|
|
9951
|
-
new(): GPUDeviceLostInfo;
|
|
9952
|
-
};
|
|
9953
|
-
|
|
9954
9250
|
/**
|
|
9955
9251
|
* Available only in secure contexts.
|
|
9956
9252
|
*
|
|
@@ -9961,403 +9257,6 @@ interface GPUError {
|
|
|
9961
9257
|
readonly message: string;
|
|
9962
9258
|
}
|
|
9963
9259
|
|
|
9964
|
-
/**
|
|
9965
|
-
* Available only in secure contexts.
|
|
9966
|
-
*
|
|
9967
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUExternalTexture)
|
|
9968
|
-
*/
|
|
9969
|
-
interface GPUExternalTexture extends GPUObjectBase {
|
|
9970
|
-
}
|
|
9971
|
-
|
|
9972
|
-
declare var GPUExternalTexture: {
|
|
9973
|
-
prototype: GPUExternalTexture;
|
|
9974
|
-
new(): GPUExternalTexture;
|
|
9975
|
-
};
|
|
9976
|
-
|
|
9977
|
-
/**
|
|
9978
|
-
* Available only in secure contexts.
|
|
9979
|
-
*
|
|
9980
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUInternalError)
|
|
9981
|
-
*/
|
|
9982
|
-
interface GPUInternalError extends GPUError {
|
|
9983
|
-
}
|
|
9984
|
-
|
|
9985
|
-
declare var GPUInternalError: {
|
|
9986
|
-
prototype: GPUInternalError;
|
|
9987
|
-
new(message: string): GPUInternalError;
|
|
9988
|
-
};
|
|
9989
|
-
|
|
9990
|
-
interface GPUObjectBase {
|
|
9991
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup/label) */
|
|
9992
|
-
label: string;
|
|
9993
|
-
}
|
|
9994
|
-
|
|
9995
|
-
/**
|
|
9996
|
-
* Available only in secure contexts.
|
|
9997
|
-
*
|
|
9998
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUOutOfMemoryError)
|
|
9999
|
-
*/
|
|
10000
|
-
interface GPUOutOfMemoryError extends GPUError {
|
|
10001
|
-
}
|
|
10002
|
-
|
|
10003
|
-
declare var GPUOutOfMemoryError: {
|
|
10004
|
-
prototype: GPUOutOfMemoryError;
|
|
10005
|
-
new(message: string): GPUOutOfMemoryError;
|
|
10006
|
-
};
|
|
10007
|
-
|
|
10008
|
-
interface GPUPipelineBase {
|
|
10009
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline/getBindGroupLayout) */
|
|
10010
|
-
getBindGroupLayout(index: number): GPUBindGroupLayout;
|
|
10011
|
-
}
|
|
10012
|
-
|
|
10013
|
-
/**
|
|
10014
|
-
* Available only in secure contexts.
|
|
10015
|
-
*
|
|
10016
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
10017
|
-
*/
|
|
10018
|
-
interface GPUPipelineError extends DOMException {
|
|
10019
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason) */
|
|
10020
|
-
readonly reason: GPUPipelineErrorReason;
|
|
10021
|
-
}
|
|
10022
|
-
|
|
10023
|
-
declare var GPUPipelineError: {
|
|
10024
|
-
prototype: GPUPipelineError;
|
|
10025
|
-
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
10026
|
-
};
|
|
10027
|
-
|
|
10028
|
-
/**
|
|
10029
|
-
* Available only in secure contexts.
|
|
10030
|
-
*
|
|
10031
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineLayout)
|
|
10032
|
-
*/
|
|
10033
|
-
interface GPUPipelineLayout extends GPUObjectBase {
|
|
10034
|
-
}
|
|
10035
|
-
|
|
10036
|
-
declare var GPUPipelineLayout: {
|
|
10037
|
-
prototype: GPUPipelineLayout;
|
|
10038
|
-
new(): GPUPipelineLayout;
|
|
10039
|
-
};
|
|
10040
|
-
|
|
10041
|
-
/**
|
|
10042
|
-
* Available only in secure contexts.
|
|
10043
|
-
*
|
|
10044
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
|
|
10045
|
-
*/
|
|
10046
|
-
interface GPUQuerySet extends GPUObjectBase {
|
|
10047
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count) */
|
|
10048
|
-
readonly count: GPUSize32Out;
|
|
10049
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type) */
|
|
10050
|
-
readonly type: GPUQueryType;
|
|
10051
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy) */
|
|
10052
|
-
destroy(): void;
|
|
10053
|
-
}
|
|
10054
|
-
|
|
10055
|
-
declare var GPUQuerySet: {
|
|
10056
|
-
prototype: GPUQuerySet;
|
|
10057
|
-
new(): GPUQuerySet;
|
|
10058
|
-
};
|
|
10059
|
-
|
|
10060
|
-
/**
|
|
10061
|
-
* Available only in secure contexts.
|
|
10062
|
-
*
|
|
10063
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue)
|
|
10064
|
-
*/
|
|
10065
|
-
interface GPUQueue extends GPUObjectBase {
|
|
10066
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
|
|
10067
|
-
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: GPUExtent3D): void;
|
|
10068
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/onSubmittedWorkDone) */
|
|
10069
|
-
onSubmittedWorkDone(): Promise<void>;
|
|
10070
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
|
|
10071
|
-
submit(commandBuffers: GPUCommandBuffer[]): void;
|
|
10072
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeBuffer) */
|
|
10073
|
-
writeBuffer(buffer: GPUBuffer, bufferOffset: GPUSize64, data: AllowSharedBufferSource, dataOffset?: GPUSize64, size?: GPUSize64): void;
|
|
10074
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
|
|
10075
|
-
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: GPUExtent3D): void;
|
|
10076
|
-
}
|
|
10077
|
-
|
|
10078
|
-
declare var GPUQueue: {
|
|
10079
|
-
prototype: GPUQueue;
|
|
10080
|
-
new(): GPUQueue;
|
|
10081
|
-
};
|
|
10082
|
-
|
|
10083
|
-
/**
|
|
10084
|
-
* Available only in secure contexts.
|
|
10085
|
-
*
|
|
10086
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundle)
|
|
10087
|
-
*/
|
|
10088
|
-
interface GPURenderBundle extends GPUObjectBase {
|
|
10089
|
-
}
|
|
10090
|
-
|
|
10091
|
-
declare var GPURenderBundle: {
|
|
10092
|
-
prototype: GPURenderBundle;
|
|
10093
|
-
new(): GPURenderBundle;
|
|
10094
|
-
};
|
|
10095
|
-
|
|
10096
|
-
/**
|
|
10097
|
-
* Available only in secure contexts.
|
|
10098
|
-
*
|
|
10099
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder)
|
|
10100
|
-
*/
|
|
10101
|
-
interface GPURenderBundleEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
|
|
10102
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/finish) */
|
|
10103
|
-
finish(descriptor?: GPURenderBundleDescriptor): GPURenderBundle;
|
|
10104
|
-
}
|
|
10105
|
-
|
|
10106
|
-
declare var GPURenderBundleEncoder: {
|
|
10107
|
-
prototype: GPURenderBundleEncoder;
|
|
10108
|
-
new(): GPURenderBundleEncoder;
|
|
10109
|
-
};
|
|
10110
|
-
|
|
10111
|
-
interface GPURenderCommandsMixin {
|
|
10112
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/draw) */
|
|
10113
|
-
draw(vertexCount: GPUSize32, instanceCount?: GPUSize32, firstVertex?: GPUSize32, firstInstance?: GPUSize32): void;
|
|
10114
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexed) */
|
|
10115
|
-
drawIndexed(indexCount: GPUSize32, instanceCount?: GPUSize32, firstIndex?: GPUSize32, baseVertex?: GPUSignedOffset32, firstInstance?: GPUSize32): void;
|
|
10116
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect) */
|
|
10117
|
-
drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
10118
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndirect) */
|
|
10119
|
-
drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
10120
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer) */
|
|
10121
|
-
setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: GPUSize64, size?: GPUSize64): void;
|
|
10122
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setPipeline) */
|
|
10123
|
-
setPipeline(pipeline: GPURenderPipeline): void;
|
|
10124
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer) */
|
|
10125
|
-
setVertexBuffer(slot: GPUIndex32, buffer: GPUBuffer | null, offset?: GPUSize64, size?: GPUSize64): void;
|
|
10126
|
-
}
|
|
10127
|
-
|
|
10128
|
-
/**
|
|
10129
|
-
* Available only in secure contexts.
|
|
10130
|
-
*
|
|
10131
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder)
|
|
10132
|
-
*/
|
|
10133
|
-
interface GPURenderPassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
|
|
10134
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/beginOcclusionQuery) */
|
|
10135
|
-
beginOcclusionQuery(queryIndex: GPUSize32): void;
|
|
10136
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/end) */
|
|
10137
|
-
end(): void;
|
|
10138
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/endOcclusionQuery) */
|
|
10139
|
-
endOcclusionQuery(): void;
|
|
10140
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
|
|
10141
|
-
executeBundles(bundles: GPURenderBundle[]): void;
|
|
10142
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
|
|
10143
|
-
setBlendConstant(color: GPUColor): void;
|
|
10144
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setScissorRect) */
|
|
10145
|
-
setScissorRect(x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate): void;
|
|
10146
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setStencilReference) */
|
|
10147
|
-
setStencilReference(reference: GPUStencilValue): void;
|
|
10148
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setViewport) */
|
|
10149
|
-
setViewport(x: number, y: number, width: number, height: number, minDepth: number, maxDepth: number): void;
|
|
10150
|
-
}
|
|
10151
|
-
|
|
10152
|
-
declare var GPURenderPassEncoder: {
|
|
10153
|
-
prototype: GPURenderPassEncoder;
|
|
10154
|
-
new(): GPURenderPassEncoder;
|
|
10155
|
-
};
|
|
10156
|
-
|
|
10157
|
-
/**
|
|
10158
|
-
* Available only in secure contexts.
|
|
10159
|
-
*
|
|
10160
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPipeline)
|
|
10161
|
-
*/
|
|
10162
|
-
interface GPURenderPipeline extends GPUObjectBase, GPUPipelineBase {
|
|
10163
|
-
}
|
|
10164
|
-
|
|
10165
|
-
declare var GPURenderPipeline: {
|
|
10166
|
-
prototype: GPURenderPipeline;
|
|
10167
|
-
new(): GPURenderPipeline;
|
|
10168
|
-
};
|
|
10169
|
-
|
|
10170
|
-
/**
|
|
10171
|
-
* Available only in secure contexts.
|
|
10172
|
-
*
|
|
10173
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSampler)
|
|
10174
|
-
*/
|
|
10175
|
-
interface GPUSampler extends GPUObjectBase {
|
|
10176
|
-
}
|
|
10177
|
-
|
|
10178
|
-
declare var GPUSampler: {
|
|
10179
|
-
prototype: GPUSampler;
|
|
10180
|
-
new(): GPUSampler;
|
|
10181
|
-
};
|
|
10182
|
-
|
|
10183
|
-
/**
|
|
10184
|
-
* Available only in secure contexts.
|
|
10185
|
-
*
|
|
10186
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
|
|
10187
|
-
*/
|
|
10188
|
-
interface GPUShaderModule extends GPUObjectBase {
|
|
10189
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo) */
|
|
10190
|
-
getCompilationInfo(): Promise<GPUCompilationInfo>;
|
|
10191
|
-
}
|
|
10192
|
-
|
|
10193
|
-
declare var GPUShaderModule: {
|
|
10194
|
-
prototype: GPUShaderModule;
|
|
10195
|
-
new(): GPUShaderModule;
|
|
10196
|
-
};
|
|
10197
|
-
|
|
10198
|
-
/**
|
|
10199
|
-
* Available only in secure contexts.
|
|
10200
|
-
*
|
|
10201
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedFeatures)
|
|
10202
|
-
*/
|
|
10203
|
-
interface GPUSupportedFeatures {
|
|
10204
|
-
forEach(callbackfn: (value: string, key: string, parent: GPUSupportedFeatures) => void, thisArg?: any): void;
|
|
10205
|
-
}
|
|
10206
|
-
|
|
10207
|
-
declare var GPUSupportedFeatures: {
|
|
10208
|
-
prototype: GPUSupportedFeatures;
|
|
10209
|
-
new(): GPUSupportedFeatures;
|
|
10210
|
-
};
|
|
10211
|
-
|
|
10212
|
-
/**
|
|
10213
|
-
* Available only in secure contexts.
|
|
10214
|
-
*
|
|
10215
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits)
|
|
10216
|
-
*/
|
|
10217
|
-
interface GPUSupportedLimits {
|
|
10218
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10219
|
-
readonly maxBindGroups: number;
|
|
10220
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10221
|
-
readonly maxBindGroupsPlusVertexBuffers: number;
|
|
10222
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10223
|
-
readonly maxBindingsPerBindGroup: number;
|
|
10224
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10225
|
-
readonly maxBufferSize: number;
|
|
10226
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10227
|
-
readonly maxColorAttachmentBytesPerSample: number;
|
|
10228
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10229
|
-
readonly maxColorAttachments: number;
|
|
10230
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10231
|
-
readonly maxComputeInvocationsPerWorkgroup: number;
|
|
10232
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10233
|
-
readonly maxComputeWorkgroupSizeX: number;
|
|
10234
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10235
|
-
readonly maxComputeWorkgroupSizeY: number;
|
|
10236
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10237
|
-
readonly maxComputeWorkgroupSizeZ: number;
|
|
10238
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10239
|
-
readonly maxComputeWorkgroupStorageSize: number;
|
|
10240
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10241
|
-
readonly maxComputeWorkgroupsPerDimension: number;
|
|
10242
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10243
|
-
readonly maxDynamicStorageBuffersPerPipelineLayout: number;
|
|
10244
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10245
|
-
readonly maxDynamicUniformBuffersPerPipelineLayout: number;
|
|
10246
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10247
|
-
readonly maxInterStageShaderVariables: number;
|
|
10248
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10249
|
-
readonly maxSampledTexturesPerShaderStage: number;
|
|
10250
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10251
|
-
readonly maxSamplersPerShaderStage: number;
|
|
10252
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10253
|
-
readonly maxStorageBufferBindingSize: number;
|
|
10254
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10255
|
-
readonly maxStorageBuffersPerShaderStage: number;
|
|
10256
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10257
|
-
readonly maxStorageTexturesPerShaderStage: number;
|
|
10258
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10259
|
-
readonly maxTextureArrayLayers: number;
|
|
10260
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10261
|
-
readonly maxTextureDimension1D: number;
|
|
10262
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10263
|
-
readonly maxTextureDimension2D: number;
|
|
10264
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10265
|
-
readonly maxTextureDimension3D: number;
|
|
10266
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10267
|
-
readonly maxUniformBufferBindingSize: number;
|
|
10268
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10269
|
-
readonly maxUniformBuffersPerShaderStage: number;
|
|
10270
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10271
|
-
readonly maxVertexAttributes: number;
|
|
10272
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10273
|
-
readonly maxVertexBufferArrayStride: number;
|
|
10274
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10275
|
-
readonly maxVertexBuffers: number;
|
|
10276
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10277
|
-
readonly minStorageBufferOffsetAlignment: number;
|
|
10278
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10279
|
-
readonly minUniformBufferOffsetAlignment: number;
|
|
10280
|
-
}
|
|
10281
|
-
|
|
10282
|
-
declare var GPUSupportedLimits: {
|
|
10283
|
-
prototype: GPUSupportedLimits;
|
|
10284
|
-
new(): GPUSupportedLimits;
|
|
10285
|
-
};
|
|
10286
|
-
|
|
10287
|
-
/**
|
|
10288
|
-
* Available only in secure contexts.
|
|
10289
|
-
*
|
|
10290
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture)
|
|
10291
|
-
*/
|
|
10292
|
-
interface GPUTexture extends GPUObjectBase {
|
|
10293
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/depthOrArrayLayers) */
|
|
10294
|
-
readonly depthOrArrayLayers: GPUIntegerCoordinateOut;
|
|
10295
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/dimension) */
|
|
10296
|
-
readonly dimension: GPUTextureDimension;
|
|
10297
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/format) */
|
|
10298
|
-
readonly format: GPUTextureFormat;
|
|
10299
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/height) */
|
|
10300
|
-
readonly height: GPUIntegerCoordinateOut;
|
|
10301
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/mipLevelCount) */
|
|
10302
|
-
readonly mipLevelCount: GPUIntegerCoordinateOut;
|
|
10303
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/sampleCount) */
|
|
10304
|
-
readonly sampleCount: GPUSize32Out;
|
|
10305
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/usage) */
|
|
10306
|
-
readonly usage: GPUFlagsConstant;
|
|
10307
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/width) */
|
|
10308
|
-
readonly width: GPUIntegerCoordinateOut;
|
|
10309
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/createView) */
|
|
10310
|
-
createView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
10311
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/destroy) */
|
|
10312
|
-
destroy(): void;
|
|
10313
|
-
}
|
|
10314
|
-
|
|
10315
|
-
declare var GPUTexture: {
|
|
10316
|
-
prototype: GPUTexture;
|
|
10317
|
-
new(): GPUTexture;
|
|
10318
|
-
};
|
|
10319
|
-
|
|
10320
|
-
/**
|
|
10321
|
-
* Available only in secure contexts.
|
|
10322
|
-
*
|
|
10323
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTextureView)
|
|
10324
|
-
*/
|
|
10325
|
-
interface GPUTextureView extends GPUObjectBase {
|
|
10326
|
-
}
|
|
10327
|
-
|
|
10328
|
-
declare var GPUTextureView: {
|
|
10329
|
-
prototype: GPUTextureView;
|
|
10330
|
-
new(): GPUTextureView;
|
|
10331
|
-
};
|
|
10332
|
-
|
|
10333
|
-
/**
|
|
10334
|
-
* Available only in secure contexts.
|
|
10335
|
-
*
|
|
10336
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent)
|
|
10337
|
-
*/
|
|
10338
|
-
interface GPUUncapturedErrorEvent extends Event {
|
|
10339
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent/error) */
|
|
10340
|
-
readonly error: GPUError;
|
|
10341
|
-
}
|
|
10342
|
-
|
|
10343
|
-
declare var GPUUncapturedErrorEvent: {
|
|
10344
|
-
prototype: GPUUncapturedErrorEvent;
|
|
10345
|
-
new(type: string, gpuUncapturedErrorEventInitDict: GPUUncapturedErrorEventInit): GPUUncapturedErrorEvent;
|
|
10346
|
-
};
|
|
10347
|
-
|
|
10348
|
-
/**
|
|
10349
|
-
* Available only in secure contexts.
|
|
10350
|
-
*
|
|
10351
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUValidationError)
|
|
10352
|
-
*/
|
|
10353
|
-
interface GPUValidationError extends GPUError {
|
|
10354
|
-
}
|
|
10355
|
-
|
|
10356
|
-
declare var GPUValidationError: {
|
|
10357
|
-
prototype: GPUValidationError;
|
|
10358
|
-
new(message: string): GPUValidationError;
|
|
10359
|
-
};
|
|
10360
|
-
|
|
10361
9260
|
/**
|
|
10362
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.
|
|
10363
9262
|
*
|
|
@@ -13245,6 +12144,7 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
13245
12144
|
readonly networkState: number;
|
|
13246
12145
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/encrypted_event) */
|
|
13247
12146
|
onencrypted: ((this: HTMLMediaElement, ev: MediaEncryptedEvent) => any) | null;
|
|
12147
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/waitingforkey_event) */
|
|
13248
12148
|
onwaitingforkey: ((this: HTMLMediaElement, ev: Event) => any) | null;
|
|
13249
12149
|
/**
|
|
13250
12150
|
* Gets a flag that specifies whether playback is paused.
|
|
@@ -17392,7 +16292,23 @@ declare var MessageEvent: {
|
|
|
17392
16292
|
new<T>(type: string, eventInitDict?: MessageEventInit<T>): MessageEvent<T>;
|
|
17393
16293
|
};
|
|
17394
16294
|
|
|
17395
|
-
interface
|
|
16295
|
+
interface MessageEventTargetEventMap {
|
|
16296
|
+
"message": Event;
|
|
16297
|
+
"messageerror": Event;
|
|
16298
|
+
}
|
|
16299
|
+
|
|
16300
|
+
interface MessageEventTarget {
|
|
16301
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/message_event) */
|
|
16302
|
+
onmessage: ((this: MessageEventTarget, ev: Event) => any) | null;
|
|
16303
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DedicatedWorkerGlobalScope/messageerror_event) */
|
|
16304
|
+
onmessageerror: ((this: MessageEventTarget, ev: Event) => any) | null;
|
|
16305
|
+
addEventListener<K extends keyof MessageEventTargetEventMap>(type: K, listener: (this: MessageEventTarget, ev: MessageEventTargetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
16306
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
16307
|
+
removeEventListener<K extends keyof MessageEventTargetEventMap>(type: K, listener: (this: MessageEventTarget, ev: MessageEventTargetEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
16308
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
16309
|
+
}
|
|
16310
|
+
|
|
16311
|
+
interface MessagePortEventMap extends MessageEventTargetEventMap {
|
|
17396
16312
|
"message": MessageEvent;
|
|
17397
16313
|
"messageerror": MessageEvent;
|
|
17398
16314
|
}
|
|
@@ -17402,11 +16318,7 @@ interface MessagePortEventMap {
|
|
|
17402
16318
|
*
|
|
17403
16319
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort)
|
|
17404
16320
|
*/
|
|
17405
|
-
interface MessagePort extends EventTarget {
|
|
17406
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/message_event) */
|
|
17407
|
-
onmessage: ((this: MessagePort, ev: MessageEvent) => any) | null;
|
|
17408
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessagePort/messageerror_event) */
|
|
17409
|
-
onmessageerror: ((this: MessagePort, ev: MessageEvent) => any) | null;
|
|
16321
|
+
interface MessagePort extends EventTarget, MessageEventTarget {
|
|
17410
16322
|
/**
|
|
17411
16323
|
* Disconnects the port, so that it is no longer active.
|
|
17412
16324
|
*
|
|
@@ -17761,7 +16673,7 @@ declare var NavigationPreloadManager: {
|
|
|
17761
16673
|
*
|
|
17762
16674
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
|
|
17763
16675
|
*/
|
|
17764
|
-
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies,
|
|
16676
|
+
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
17765
16677
|
/**
|
|
17766
16678
|
* Available only in secure contexts.
|
|
17767
16679
|
*
|
|
@@ -17870,15 +16782,6 @@ interface NavigatorCookies {
|
|
|
17870
16782
|
readonly cookieEnabled: boolean;
|
|
17871
16783
|
}
|
|
17872
16784
|
|
|
17873
|
-
interface NavigatorGPU {
|
|
17874
|
-
/**
|
|
17875
|
-
* Available only in secure contexts.
|
|
17876
|
-
*
|
|
17877
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
|
|
17878
|
-
*/
|
|
17879
|
-
readonly gpu: GPU;
|
|
17880
|
-
}
|
|
17881
|
-
|
|
17882
16785
|
interface NavigatorID {
|
|
17883
16786
|
/**
|
|
17884
16787
|
* @deprecated
|
|
@@ -25244,20 +24147,6 @@ interface WEBGL_multi_draw {
|
|
|
25244
24147
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
25245
24148
|
}
|
|
25246
24149
|
|
|
25247
|
-
/**
|
|
25248
|
-
* Available only in secure contexts.
|
|
25249
|
-
*
|
|
25250
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WGSLLanguageFeatures)
|
|
25251
|
-
*/
|
|
25252
|
-
interface WGSLLanguageFeatures {
|
|
25253
|
-
forEach(callbackfn: (value: string, key: string, parent: WGSLLanguageFeatures) => void, thisArg?: any): void;
|
|
25254
|
-
}
|
|
25255
|
-
|
|
25256
|
-
declare var WGSLLanguageFeatures: {
|
|
25257
|
-
prototype: WGSLLanguageFeatures;
|
|
25258
|
-
new(): WGSLLanguageFeatures;
|
|
25259
|
-
};
|
|
25260
|
-
|
|
25261
24150
|
/**
|
|
25262
24151
|
* Available only in secure contexts.
|
|
25263
24152
|
*
|
|
@@ -28133,7 +27022,7 @@ interface WindowSessionStorage {
|
|
|
28133
27022
|
readonly sessionStorage: Storage;
|
|
28134
27023
|
}
|
|
28135
27024
|
|
|
28136
|
-
interface WorkerEventMap extends AbstractWorkerEventMap {
|
|
27025
|
+
interface WorkerEventMap extends AbstractWorkerEventMap, MessageEventTargetEventMap {
|
|
28137
27026
|
"message": MessageEvent;
|
|
28138
27027
|
"messageerror": MessageEvent;
|
|
28139
27028
|
}
|
|
@@ -28143,11 +27032,7 @@ interface WorkerEventMap extends AbstractWorkerEventMap {
|
|
|
28143
27032
|
*
|
|
28144
27033
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker)
|
|
28145
27034
|
*/
|
|
28146
|
-
interface Worker extends EventTarget, AbstractWorker {
|
|
28147
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker/message_event) */
|
|
28148
|
-
onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
|
|
28149
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Worker/messageerror_event) */
|
|
28150
|
-
onmessageerror: ((this: Worker, ev: MessageEvent) => any) | null;
|
|
27035
|
+
interface Worker extends EventTarget, AbstractWorker, MessageEventTarget {
|
|
28151
27036
|
/**
|
|
28152
27037
|
* Clones message and transmits it to worker's global environment. transfer can be passed as a list of objects that are to be transferred rather than cloned.
|
|
28153
27038
|
*
|
|
@@ -30216,31 +29101,6 @@ type GLsizei = number;
|
|
|
30216
29101
|
type GLsizeiptr = number;
|
|
30217
29102
|
type GLuint = number;
|
|
30218
29103
|
type GLuint64 = number;
|
|
30219
|
-
type GPUBindingResource = GPUSampler | GPUTextureView | GPUBufferBinding | GPUExternalTexture;
|
|
30220
|
-
type GPUBufferDynamicOffset = number;
|
|
30221
|
-
type GPUBufferUsageFlags = number;
|
|
30222
|
-
type GPUColor = number[] | GPUColorDict;
|
|
30223
|
-
type GPUColorWriteFlags = number;
|
|
30224
|
-
type GPUCopyExternalImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLVideoElement | VideoFrame | HTMLCanvasElement | OffscreenCanvas;
|
|
30225
|
-
type GPUDepthBias = number;
|
|
30226
|
-
type GPUExtent3D = GPUIntegerCoordinate[] | GPUExtent3DDict;
|
|
30227
|
-
type GPUFlagsConstant = number;
|
|
30228
|
-
type GPUIndex32 = number;
|
|
30229
|
-
type GPUIntegerCoordinate = number;
|
|
30230
|
-
type GPUIntegerCoordinateOut = number;
|
|
30231
|
-
type GPUMapModeFlags = number;
|
|
30232
|
-
type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
|
|
30233
|
-
type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
|
|
30234
|
-
type GPUPipelineConstantValue = number;
|
|
30235
|
-
type GPUSampleMask = number;
|
|
30236
|
-
type GPUShaderStageFlags = number;
|
|
30237
|
-
type GPUSignedOffset32 = number;
|
|
30238
|
-
type GPUSize32 = number;
|
|
30239
|
-
type GPUSize32Out = number;
|
|
30240
|
-
type GPUSize64 = number;
|
|
30241
|
-
type GPUSize64Out = number;
|
|
30242
|
-
type GPUStencilValue = number;
|
|
30243
|
-
type GPUTextureUsageFlags = number;
|
|
30244
29104
|
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
|
|
30245
29105
|
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
|
|
30246
29106
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
@@ -30254,7 +29114,7 @@ type MediaProvider = MediaStream | MediaSource | Blob;
|
|
|
30254
29114
|
type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
|
|
30255
29115
|
type MutationRecordType = "attributes" | "characterData" | "childList";
|
|
30256
29116
|
type NamedCurve = string;
|
|
30257
|
-
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext
|
|
29117
|
+
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30258
29118
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
30259
29119
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
30260
29120
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
@@ -30265,7 +29125,7 @@ type RTCRtpTransform = RTCRtpScriptTransform;
|
|
|
30265
29125
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
30266
29126
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
30267
29127
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
30268
|
-
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext
|
|
29128
|
+
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30269
29129
|
type ReportList = Report[];
|
|
30270
29130
|
type RequestInfo = Request | string;
|
|
30271
29131
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
@@ -30337,40 +29197,6 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
30337
29197
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
30338
29198
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
30339
29199
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
30340
|
-
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
30341
|
-
type GPUAutoLayoutMode = "auto";
|
|
30342
|
-
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";
|
|
30343
|
-
type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
|
|
30344
|
-
type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
|
|
30345
|
-
type GPUBufferMapState = "mapped" | "pending" | "unmapped";
|
|
30346
|
-
type GPUCanvasAlphaMode = "opaque" | "premultiplied";
|
|
30347
|
-
type GPUCanvasToneMappingMode = "extended" | "standard";
|
|
30348
|
-
type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal";
|
|
30349
|
-
type GPUCompilationMessageType = "error" | "info" | "warning";
|
|
30350
|
-
type GPUCullMode = "back" | "front" | "none";
|
|
30351
|
-
type GPUDeviceLostReason = "destroyed" | "unknown";
|
|
30352
|
-
type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
|
|
30353
|
-
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";
|
|
30354
|
-
type GPUFilterMode = "linear" | "nearest";
|
|
30355
|
-
type GPUFrontFace = "ccw" | "cw";
|
|
30356
|
-
type GPUIndexFormat = "uint16" | "uint32";
|
|
30357
|
-
type GPULoadOp = "clear" | "load";
|
|
30358
|
-
type GPUMipmapFilterMode = "linear" | "nearest";
|
|
30359
|
-
type GPUPipelineErrorReason = "internal" | "validation";
|
|
30360
|
-
type GPUPowerPreference = "high-performance" | "low-power";
|
|
30361
|
-
type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
|
|
30362
|
-
type GPUQueryType = "occlusion" | "timestamp";
|
|
30363
|
-
type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
|
|
30364
|
-
type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
|
|
30365
|
-
type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
|
|
30366
|
-
type GPUStoreOp = "discard" | "store";
|
|
30367
|
-
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
|
|
30368
|
-
type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
30369
|
-
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";
|
|
30370
|
-
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
30371
|
-
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
30372
|
-
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";
|
|
30373
|
-
type GPUVertexStepMode = "instance" | "vertex";
|
|
30374
29200
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
30375
29201
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
30376
29202
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|