@types/web 0.0.179 → 0.0.181
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 +1244 -5
- package/iterable.d.ts +36 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +1244 -5
- package/ts5.5/iterable.d.ts +36 -0
package/ts5.5/index.d.ts
CHANGED
|
@@ -661,6 +661,368 @@ 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
|
+
|
|
664
1026
|
interface GainOptions extends AudioNodeOptions {
|
|
665
1027
|
gain?: number;
|
|
666
1028
|
}
|
|
@@ -1576,13 +1938,18 @@ interface RTCIceCandidateInit {
|
|
|
1576
1938
|
interface RTCIceCandidatePairStats extends RTCStats {
|
|
1577
1939
|
availableIncomingBitrate?: number;
|
|
1578
1940
|
availableOutgoingBitrate?: number;
|
|
1941
|
+
bytesDiscardedOnSend?: number;
|
|
1579
1942
|
bytesReceived?: number;
|
|
1580
1943
|
bytesSent?: number;
|
|
1944
|
+
consentRequestsSent?: number;
|
|
1581
1945
|
currentRoundTripTime?: number;
|
|
1582
1946
|
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1583
1947
|
lastPacketSentTimestamp?: DOMHighResTimeStamp;
|
|
1584
1948
|
localCandidateId: string;
|
|
1585
1949
|
nominated?: boolean;
|
|
1950
|
+
packetsDiscardedOnSend?: number;
|
|
1951
|
+
packetsReceived?: number;
|
|
1952
|
+
packetsSent?: number;
|
|
1586
1953
|
remoteCandidateId: string;
|
|
1587
1954
|
requestsReceived?: number;
|
|
1588
1955
|
requestsSent?: number;
|
|
@@ -1606,32 +1973,47 @@ interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats {
|
|
|
1606
1973
|
concealmentEvents?: number;
|
|
1607
1974
|
decoderImplementation?: string;
|
|
1608
1975
|
estimatedPlayoutTimestamp?: DOMHighResTimeStamp;
|
|
1976
|
+
fecBytesReceived?: number;
|
|
1609
1977
|
fecPacketsDiscarded?: number;
|
|
1610
1978
|
fecPacketsReceived?: number;
|
|
1979
|
+
fecSsrc?: number;
|
|
1611
1980
|
firCount?: number;
|
|
1612
1981
|
frameHeight?: number;
|
|
1613
1982
|
frameWidth?: number;
|
|
1983
|
+
framesAssembledFromMultiplePackets?: number;
|
|
1614
1984
|
framesDecoded?: number;
|
|
1615
1985
|
framesDropped?: number;
|
|
1616
1986
|
framesPerSecond?: number;
|
|
1617
1987
|
framesReceived?: number;
|
|
1988
|
+
framesRendered?: number;
|
|
1989
|
+
freezeCount?: number;
|
|
1618
1990
|
headerBytesReceived?: number;
|
|
1619
1991
|
insertedSamplesForDeceleration?: number;
|
|
1620
1992
|
jitterBufferDelay?: number;
|
|
1621
1993
|
jitterBufferEmittedCount?: number;
|
|
1994
|
+
jitterBufferMinimumDelay?: number;
|
|
1995
|
+
jitterBufferTargetDelay?: number;
|
|
1622
1996
|
keyFramesDecoded?: number;
|
|
1623
1997
|
lastPacketReceivedTimestamp?: DOMHighResTimeStamp;
|
|
1624
1998
|
mid?: string;
|
|
1625
1999
|
nackCount?: number;
|
|
1626
2000
|
packetsDiscarded?: number;
|
|
2001
|
+
pauseCount?: number;
|
|
2002
|
+
playoutId?: string;
|
|
1627
2003
|
pliCount?: number;
|
|
1628
2004
|
qpSum?: number;
|
|
1629
2005
|
remoteId?: string;
|
|
1630
2006
|
removedSamplesForAcceleration?: number;
|
|
2007
|
+
retransmittedBytesReceived?: number;
|
|
2008
|
+
retransmittedPacketsReceived?: number;
|
|
2009
|
+
rtxSsrc?: number;
|
|
1631
2010
|
silentConcealedSamples?: number;
|
|
2011
|
+
totalAssemblyTime?: number;
|
|
1632
2012
|
totalAudioEnergy?: number;
|
|
1633
2013
|
totalDecodeTime?: number;
|
|
2014
|
+
totalFreezesDuration?: number;
|
|
1634
2015
|
totalInterFrameDelay?: number;
|
|
2016
|
+
totalPausesDuration?: number;
|
|
1635
2017
|
totalProcessingDelay?: number;
|
|
1636
2018
|
totalSamplesDuration?: number;
|
|
1637
2019
|
totalSamplesReceived?: number;
|
|
@@ -1654,6 +2036,7 @@ interface RTCOfferOptions extends RTCOfferAnswerOptions {
|
|
|
1654
2036
|
}
|
|
1655
2037
|
|
|
1656
2038
|
interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
|
|
2039
|
+
active?: boolean;
|
|
1657
2040
|
firCount?: number;
|
|
1658
2041
|
frameHeight?: number;
|
|
1659
2042
|
frameWidth?: number;
|
|
@@ -1664,15 +2047,19 @@ interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats {
|
|
|
1664
2047
|
hugeFramesSent?: number;
|
|
1665
2048
|
keyFramesEncoded?: number;
|
|
1666
2049
|
mediaSourceId?: string;
|
|
2050
|
+
mid?: string;
|
|
1667
2051
|
nackCount?: number;
|
|
1668
2052
|
pliCount?: number;
|
|
1669
2053
|
qpSum?: number;
|
|
2054
|
+
qualityLimitationDurations?: Record<string, number>;
|
|
2055
|
+
qualityLimitationReason?: RTCQualityLimitationReason;
|
|
1670
2056
|
qualityLimitationResolutionChanges?: number;
|
|
1671
2057
|
remoteId?: string;
|
|
1672
2058
|
retransmittedBytesSent?: number;
|
|
1673
2059
|
retransmittedPacketsSent?: number;
|
|
1674
2060
|
rid?: string;
|
|
1675
2061
|
rtxSsrc?: number;
|
|
2062
|
+
scalabilityMode?: string;
|
|
1676
2063
|
targetBitrate?: number;
|
|
1677
2064
|
totalEncodeTime?: number;
|
|
1678
2065
|
totalEncodedBytesTarget?: number;
|
|
@@ -1810,9 +2197,16 @@ interface RTCTransportStats extends RTCStats {
|
|
|
1810
2197
|
bytesReceived?: number;
|
|
1811
2198
|
bytesSent?: number;
|
|
1812
2199
|
dtlsCipher?: string;
|
|
2200
|
+
dtlsRole?: RTCDtlsRole;
|
|
1813
2201
|
dtlsState: RTCDtlsTransportState;
|
|
2202
|
+
iceLocalUsernameFragment?: string;
|
|
2203
|
+
iceRole?: RTCIceRole;
|
|
2204
|
+
iceState?: RTCIceTransportState;
|
|
1814
2205
|
localCertificateId?: string;
|
|
2206
|
+
packetsReceived?: number;
|
|
2207
|
+
packetsSent?: number;
|
|
1815
2208
|
remoteCertificateId?: string;
|
|
2209
|
+
selectedCandidatePairChanges?: number;
|
|
1816
2210
|
selectedCandidatePairId?: string;
|
|
1817
2211
|
srtpCipher?: string;
|
|
1818
2212
|
tlsVersion?: string;
|
|
@@ -3935,7 +4329,9 @@ declare var CSSNamespaceRule: {
|
|
|
3935
4329
|
new(): CSSNamespaceRule;
|
|
3936
4330
|
};
|
|
3937
4331
|
|
|
4332
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations) */
|
|
3938
4333
|
interface CSSNestedDeclarations extends CSSRule {
|
|
4334
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style) */
|
|
3939
4335
|
readonly style: CSSStyleDeclaration;
|
|
3940
4336
|
}
|
|
3941
4337
|
|
|
@@ -4515,7 +4911,9 @@ interface CSSStyleDeclaration {
|
|
|
4515
4911
|
flexWrap: string;
|
|
4516
4912
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/float) */
|
|
4517
4913
|
float: string;
|
|
4914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flood-color) */
|
|
4518
4915
|
floodColor: string;
|
|
4916
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flood-opacity) */
|
|
4519
4917
|
floodOpacity: string;
|
|
4520
4918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font) */
|
|
4521
4919
|
font: string;
|
|
@@ -4647,6 +5045,7 @@ interface CSSStyleDeclaration {
|
|
|
4647
5045
|
readonly length: number;
|
|
4648
5046
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */
|
|
4649
5047
|
letterSpacing: string;
|
|
5048
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */
|
|
4650
5049
|
lightingColor: string;
|
|
4651
5050
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/line-break) */
|
|
4652
5051
|
lineBreak: string;
|
|
@@ -6798,8 +7197,11 @@ declare var DOMRect: {
|
|
|
6798
7197
|
type SVGRect = DOMRect;
|
|
6799
7198
|
declare var SVGRect: typeof DOMRect;
|
|
6800
7199
|
|
|
7200
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList) */
|
|
6801
7201
|
interface DOMRectList {
|
|
7202
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/length) */
|
|
6802
7203
|
readonly length: number;
|
|
7204
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/item) */
|
|
6803
7205
|
item(index: number): DOMRect | null;
|
|
6804
7206
|
[index: number]: DOMRect;
|
|
6805
7207
|
}
|
|
@@ -7640,6 +8042,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7640
8042
|
createEvent(eventInterface: "FocusEvent"): FocusEvent;
|
|
7641
8043
|
createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;
|
|
7642
8044
|
createEvent(eventInterface: "FormDataEvent"): FormDataEvent;
|
|
8045
|
+
createEvent(eventInterface: "GPUUncapturedErrorEvent"): GPUUncapturedErrorEvent;
|
|
7643
8046
|
createEvent(eventInterface: "GamepadEvent"): GamepadEvent;
|
|
7644
8047
|
createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;
|
|
7645
8048
|
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
|
|
@@ -9190,6 +9593,757 @@ declare var FragmentDirective: {
|
|
|
9190
9593
|
new(): FragmentDirective;
|
|
9191
9594
|
};
|
|
9192
9595
|
|
|
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
|
+
/**
|
|
9941
|
+
* Available only in secure contexts.
|
|
9942
|
+
*
|
|
9943
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)
|
|
9944
|
+
*/
|
|
9945
|
+
interface GPUError {
|
|
9946
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message) */
|
|
9947
|
+
readonly message: string;
|
|
9948
|
+
}
|
|
9949
|
+
|
|
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
|
+
|
|
9193
10347
|
/**
|
|
9194
10348
|
* 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.
|
|
9195
10349
|
*
|
|
@@ -9865,7 +11019,7 @@ interface GlobalEventHandlers {
|
|
|
9865
11019
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
|
|
9866
11020
|
*/
|
|
9867
11021
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9868
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
11022
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */
|
|
9869
11023
|
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9870
11024
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */
|
|
9871
11025
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -16589,7 +17743,7 @@ declare var NavigationPreloadManager: {
|
|
|
16589
17743
|
*
|
|
16590
17744
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
|
|
16591
17745
|
*/
|
|
16592
|
-
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
17746
|
+
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorGPU, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
16593
17747
|
/**
|
|
16594
17748
|
* Available only in secure contexts.
|
|
16595
17749
|
*
|
|
@@ -16698,6 +17852,15 @@ interface NavigatorCookies {
|
|
|
16698
17852
|
readonly cookieEnabled: boolean;
|
|
16699
17853
|
}
|
|
16700
17854
|
|
|
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
|
+
|
|
16701
17864
|
interface NavigatorID {
|
|
16702
17865
|
/**
|
|
16703
17866
|
* @deprecated
|
|
@@ -24063,6 +25226,20 @@ interface WEBGL_multi_draw {
|
|
|
24063
25226
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
24064
25227
|
}
|
|
24065
25228
|
|
|
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
|
+
|
|
24066
25243
|
/**
|
|
24067
25244
|
* Available only in secure contexts.
|
|
24068
25245
|
*
|
|
@@ -28830,7 +30007,7 @@ declare var onsuspend: ((this: Window, ev: Event) => any) | null;
|
|
|
28830
30007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
|
|
28831
30008
|
*/
|
|
28832
30009
|
declare var ontimeupdate: ((this: Window, ev: Event) => any) | null;
|
|
28833
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
30010
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */
|
|
28834
30011
|
declare var ontoggle: ((this: Window, ev: Event) => any) | null;
|
|
28835
30012
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */
|
|
28836
30013
|
declare var ontouchcancel: ((this: Window, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -29021,6 +30198,31 @@ type GLsizei = number;
|
|
|
29021
30198
|
type GLsizeiptr = number;
|
|
29022
30199
|
type GLuint = number;
|
|
29023
30200
|
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;
|
|
29024
30226
|
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
|
|
29025
30227
|
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
|
|
29026
30228
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
@@ -29034,7 +30236,7 @@ type MediaProvider = MediaStream | MediaSource | Blob;
|
|
|
29034
30236
|
type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
|
|
29035
30237
|
type MutationRecordType = "attributes" | "characterData" | "childList";
|
|
29036
30238
|
type NamedCurve = string;
|
|
29037
|
-
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30239
|
+
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
|
|
29038
30240
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
29039
30241
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
29040
30242
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
@@ -29045,7 +30247,7 @@ type RTCRtpTransform = RTCRtpScriptTransform;
|
|
|
29045
30247
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
29046
30248
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
29047
30249
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
29048
|
-
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30250
|
+
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
|
|
29049
30251
|
type ReportList = Report[];
|
|
29050
30252
|
type RequestInfo = Request | string;
|
|
29051
30253
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
@@ -29117,6 +30319,40 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
29117
30319
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
29118
30320
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
29119
30321
|
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";
|
|
29120
30356
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
29121
30357
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
29122
30358
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
@@ -29176,6 +30412,7 @@ type PushEncryptionKeyName = "auth" | "p256dh";
|
|
|
29176
30412
|
type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";
|
|
29177
30413
|
type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
|
|
29178
30414
|
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
|
|
30415
|
+
type RTCDtlsRole = "client" | "server" | "unknown";
|
|
29179
30416
|
type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
|
|
29180
30417
|
type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
|
|
29181
30418
|
type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
|
|
@@ -29185,11 +30422,13 @@ type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" |
|
|
|
29185
30422
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
29186
30423
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
29187
30424
|
type RTCIceProtocol = "tcp" | "udp";
|
|
30425
|
+
type RTCIceRole = "controlled" | "controlling" | "unknown";
|
|
29188
30426
|
type RTCIceTcpCandidateType = "active" | "passive" | "so";
|
|
29189
30427
|
type RTCIceTransportPolicy = "all" | "relay";
|
|
29190
30428
|
type RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
29191
30429
|
type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";
|
|
29192
30430
|
type RTCPriorityType = "high" | "low" | "medium" | "very-low";
|
|
30431
|
+
type RTCQualityLimitationReason = "bandwidth" | "cpu" | "none" | "other";
|
|
29193
30432
|
type RTCRtcpMuxPolicy = "require";
|
|
29194
30433
|
type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";
|
|
29195
30434
|
type RTCSctpTransportState = "closed" | "connected" | "connecting";
|