@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/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;
|
|
@@ -3939,7 +4333,9 @@ declare var CSSNamespaceRule: {
|
|
|
3939
4333
|
new(): CSSNamespaceRule;
|
|
3940
4334
|
};
|
|
3941
4335
|
|
|
4336
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations) */
|
|
3942
4337
|
interface CSSNestedDeclarations extends CSSRule {
|
|
4338
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSNestedDeclarations/style) */
|
|
3943
4339
|
get style(): CSSStyleDeclaration;
|
|
3944
4340
|
set style(cssText: string);
|
|
3945
4341
|
}
|
|
@@ -4521,7 +4917,9 @@ interface CSSStyleDeclaration {
|
|
|
4521
4917
|
flexWrap: string;
|
|
4522
4918
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/float) */
|
|
4523
4919
|
float: string;
|
|
4920
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flood-color) */
|
|
4524
4921
|
floodColor: string;
|
|
4922
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/flood-opacity) */
|
|
4525
4923
|
floodOpacity: string;
|
|
4526
4924
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/font) */
|
|
4527
4925
|
font: string;
|
|
@@ -4653,6 +5051,7 @@ interface CSSStyleDeclaration {
|
|
|
4653
5051
|
readonly length: number;
|
|
4654
5052
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/letter-spacing) */
|
|
4655
5053
|
letterSpacing: string;
|
|
5054
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/lighting-color) */
|
|
4656
5055
|
lightingColor: string;
|
|
4657
5056
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/line-break) */
|
|
4658
5057
|
lineBreak: string;
|
|
@@ -6805,8 +7204,11 @@ declare var DOMRect: {
|
|
|
6805
7204
|
type SVGRect = DOMRect;
|
|
6806
7205
|
declare var SVGRect: typeof DOMRect;
|
|
6807
7206
|
|
|
7207
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList) */
|
|
6808
7208
|
interface DOMRectList {
|
|
7209
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/length) */
|
|
6809
7210
|
readonly length: number;
|
|
7211
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectList/item) */
|
|
6810
7212
|
item(index: number): DOMRect | null;
|
|
6811
7213
|
[index: number]: DOMRect;
|
|
6812
7214
|
}
|
|
@@ -7647,6 +8049,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
|
|
|
7647
8049
|
createEvent(eventInterface: "FocusEvent"): FocusEvent;
|
|
7648
8050
|
createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent;
|
|
7649
8051
|
createEvent(eventInterface: "FormDataEvent"): FormDataEvent;
|
|
8052
|
+
createEvent(eventInterface: "GPUUncapturedErrorEvent"): GPUUncapturedErrorEvent;
|
|
7650
8053
|
createEvent(eventInterface: "GamepadEvent"): GamepadEvent;
|
|
7651
8054
|
createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent;
|
|
7652
8055
|
createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent;
|
|
@@ -9200,6 +9603,757 @@ declare var FragmentDirective: {
|
|
|
9200
9603
|
new(): FragmentDirective;
|
|
9201
9604
|
};
|
|
9202
9605
|
|
|
9606
|
+
/**
|
|
9607
|
+
* Available only in secure contexts.
|
|
9608
|
+
*
|
|
9609
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU)
|
|
9610
|
+
*/
|
|
9611
|
+
interface GPU {
|
|
9612
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/wgslLanguageFeatures) */
|
|
9613
|
+
readonly wgslLanguageFeatures: WGSLLanguageFeatures;
|
|
9614
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/getPreferredCanvasFormat) */
|
|
9615
|
+
getPreferredCanvasFormat(): GPUTextureFormat;
|
|
9616
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPU/requestAdapter) */
|
|
9617
|
+
requestAdapter(options?: GPURequestAdapterOptions): Promise<GPUAdapter | null>;
|
|
9618
|
+
}
|
|
9619
|
+
|
|
9620
|
+
declare var GPU: {
|
|
9621
|
+
prototype: GPU;
|
|
9622
|
+
new(): GPU;
|
|
9623
|
+
};
|
|
9624
|
+
|
|
9625
|
+
/**
|
|
9626
|
+
* Available only in secure contexts.
|
|
9627
|
+
*
|
|
9628
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter)
|
|
9629
|
+
*/
|
|
9630
|
+
interface GPUAdapter {
|
|
9631
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/features) */
|
|
9632
|
+
readonly features: GPUSupportedFeatures;
|
|
9633
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/info) */
|
|
9634
|
+
readonly info: GPUAdapterInfo;
|
|
9635
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/isFallbackAdapter) */
|
|
9636
|
+
readonly isFallbackAdapter: boolean;
|
|
9637
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/limits) */
|
|
9638
|
+
readonly limits: GPUSupportedLimits;
|
|
9639
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapter/requestDevice) */
|
|
9640
|
+
requestDevice(descriptor?: GPUDeviceDescriptor): Promise<GPUDevice>;
|
|
9641
|
+
}
|
|
9642
|
+
|
|
9643
|
+
declare var GPUAdapter: {
|
|
9644
|
+
prototype: GPUAdapter;
|
|
9645
|
+
new(): GPUAdapter;
|
|
9646
|
+
};
|
|
9647
|
+
|
|
9648
|
+
/**
|
|
9649
|
+
* Available only in secure contexts.
|
|
9650
|
+
*
|
|
9651
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo)
|
|
9652
|
+
*/
|
|
9653
|
+
interface GPUAdapterInfo {
|
|
9654
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/architecture) */
|
|
9655
|
+
readonly architecture: string;
|
|
9656
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/description) */
|
|
9657
|
+
readonly description: string;
|
|
9658
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/device) */
|
|
9659
|
+
readonly device: string;
|
|
9660
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUAdapterInfo/vendor) */
|
|
9661
|
+
readonly vendor: string;
|
|
9662
|
+
}
|
|
9663
|
+
|
|
9664
|
+
declare var GPUAdapterInfo: {
|
|
9665
|
+
prototype: GPUAdapterInfo;
|
|
9666
|
+
new(): GPUAdapterInfo;
|
|
9667
|
+
};
|
|
9668
|
+
|
|
9669
|
+
/**
|
|
9670
|
+
* Available only in secure contexts.
|
|
9671
|
+
*
|
|
9672
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup)
|
|
9673
|
+
*/
|
|
9674
|
+
interface GPUBindGroup extends GPUObjectBase {
|
|
9675
|
+
}
|
|
9676
|
+
|
|
9677
|
+
declare var GPUBindGroup: {
|
|
9678
|
+
prototype: GPUBindGroup;
|
|
9679
|
+
new(): GPUBindGroup;
|
|
9680
|
+
};
|
|
9681
|
+
|
|
9682
|
+
/**
|
|
9683
|
+
* Available only in secure contexts.
|
|
9684
|
+
*
|
|
9685
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroupLayout)
|
|
9686
|
+
*/
|
|
9687
|
+
interface GPUBindGroupLayout extends GPUObjectBase {
|
|
9688
|
+
}
|
|
9689
|
+
|
|
9690
|
+
declare var GPUBindGroupLayout: {
|
|
9691
|
+
prototype: GPUBindGroupLayout;
|
|
9692
|
+
new(): GPUBindGroupLayout;
|
|
9693
|
+
};
|
|
9694
|
+
|
|
9695
|
+
interface GPUBindingCommandsMixin {
|
|
9696
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
9697
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: GPUBufferDynamicOffset[]): void;
|
|
9698
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsetsData: Uint32Array, dynamicOffsetsDataStart: GPUSize64, dynamicOffsetsDataLength: GPUSize32): void;
|
|
9699
|
+
}
|
|
9700
|
+
|
|
9701
|
+
/**
|
|
9702
|
+
* Available only in secure contexts.
|
|
9703
|
+
*
|
|
9704
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer)
|
|
9705
|
+
*/
|
|
9706
|
+
interface GPUBuffer extends GPUObjectBase {
|
|
9707
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapState) */
|
|
9708
|
+
readonly mapState: GPUBufferMapState;
|
|
9709
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/size) */
|
|
9710
|
+
readonly size: GPUSize64Out;
|
|
9711
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/usage) */
|
|
9712
|
+
readonly usage: GPUFlagsConstant;
|
|
9713
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/destroy) */
|
|
9714
|
+
destroy(): void;
|
|
9715
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/getMappedRange) */
|
|
9716
|
+
getMappedRange(offset?: GPUSize64, size?: GPUSize64): ArrayBuffer;
|
|
9717
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/mapAsync) */
|
|
9718
|
+
mapAsync(mode: GPUMapModeFlags, offset?: GPUSize64, size?: GPUSize64): Promise<void>;
|
|
9719
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBuffer/unmap) */
|
|
9720
|
+
unmap(): void;
|
|
9721
|
+
}
|
|
9722
|
+
|
|
9723
|
+
declare var GPUBuffer: {
|
|
9724
|
+
prototype: GPUBuffer;
|
|
9725
|
+
new(): GPUBuffer;
|
|
9726
|
+
};
|
|
9727
|
+
|
|
9728
|
+
/**
|
|
9729
|
+
* Available only in secure contexts.
|
|
9730
|
+
*
|
|
9731
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext)
|
|
9732
|
+
*/
|
|
9733
|
+
interface GPUCanvasContext {
|
|
9734
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/canvas) */
|
|
9735
|
+
readonly canvas: HTMLCanvasElement | OffscreenCanvas;
|
|
9736
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/configure) */
|
|
9737
|
+
configure(configuration: GPUCanvasConfiguration): void;
|
|
9738
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/getCurrentTexture) */
|
|
9739
|
+
getCurrentTexture(): GPUTexture;
|
|
9740
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/unconfigure) */
|
|
9741
|
+
unconfigure(): void;
|
|
9742
|
+
}
|
|
9743
|
+
|
|
9744
|
+
declare var GPUCanvasContext: {
|
|
9745
|
+
prototype: GPUCanvasContext;
|
|
9746
|
+
new(): GPUCanvasContext;
|
|
9747
|
+
};
|
|
9748
|
+
|
|
9749
|
+
/**
|
|
9750
|
+
* Available only in secure contexts.
|
|
9751
|
+
*
|
|
9752
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandBuffer)
|
|
9753
|
+
*/
|
|
9754
|
+
interface GPUCommandBuffer extends GPUObjectBase {
|
|
9755
|
+
}
|
|
9756
|
+
|
|
9757
|
+
declare var GPUCommandBuffer: {
|
|
9758
|
+
prototype: GPUCommandBuffer;
|
|
9759
|
+
new(): GPUCommandBuffer;
|
|
9760
|
+
};
|
|
9761
|
+
|
|
9762
|
+
/**
|
|
9763
|
+
* Available only in secure contexts.
|
|
9764
|
+
*
|
|
9765
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder)
|
|
9766
|
+
*/
|
|
9767
|
+
interface GPUCommandEncoder extends GPUDebugCommandsMixin, GPUObjectBase {
|
|
9768
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginComputePass) */
|
|
9769
|
+
beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder;
|
|
9770
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginRenderPass) */
|
|
9771
|
+
beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder;
|
|
9772
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/clearBuffer) */
|
|
9773
|
+
clearBuffer(buffer: GPUBuffer, offset?: GPUSize64, size?: GPUSize64): void;
|
|
9774
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer) */
|
|
9775
|
+
copyBufferToBuffer(source: GPUBuffer, sourceOffset: GPUSize64, destination: GPUBuffer, destinationOffset: GPUSize64, size: GPUSize64): void;
|
|
9776
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
|
|
9777
|
+
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
|
|
9778
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
|
|
9779
|
+
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: GPUExtent3D): void;
|
|
9780
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
|
|
9781
|
+
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
|
|
9782
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/finish) */
|
|
9783
|
+
finish(descriptor?: GPUCommandBufferDescriptor): GPUCommandBuffer;
|
|
9784
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/resolveQuerySet) */
|
|
9785
|
+
resolveQuerySet(querySet: GPUQuerySet, firstQuery: GPUSize32, queryCount: GPUSize32, destination: GPUBuffer, destinationOffset: GPUSize64): void;
|
|
9786
|
+
}
|
|
9787
|
+
|
|
9788
|
+
declare var GPUCommandEncoder: {
|
|
9789
|
+
prototype: GPUCommandEncoder;
|
|
9790
|
+
new(): GPUCommandEncoder;
|
|
9791
|
+
};
|
|
9792
|
+
|
|
9793
|
+
/**
|
|
9794
|
+
* Available only in secure contexts.
|
|
9795
|
+
*
|
|
9796
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo)
|
|
9797
|
+
*/
|
|
9798
|
+
interface GPUCompilationInfo {
|
|
9799
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationInfo/messages) */
|
|
9800
|
+
readonly messages: ReadonlyArray<GPUCompilationMessage>;
|
|
9801
|
+
}
|
|
9802
|
+
|
|
9803
|
+
declare var GPUCompilationInfo: {
|
|
9804
|
+
prototype: GPUCompilationInfo;
|
|
9805
|
+
new(): GPUCompilationInfo;
|
|
9806
|
+
};
|
|
9807
|
+
|
|
9808
|
+
/**
|
|
9809
|
+
* Available only in secure contexts.
|
|
9810
|
+
*
|
|
9811
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage)
|
|
9812
|
+
*/
|
|
9813
|
+
interface GPUCompilationMessage {
|
|
9814
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/length) */
|
|
9815
|
+
readonly length: number;
|
|
9816
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/lineNum) */
|
|
9817
|
+
readonly lineNum: number;
|
|
9818
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/linePos) */
|
|
9819
|
+
readonly linePos: number;
|
|
9820
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/message) */
|
|
9821
|
+
readonly message: string;
|
|
9822
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/offset) */
|
|
9823
|
+
readonly offset: number;
|
|
9824
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCompilationMessage/type) */
|
|
9825
|
+
readonly type: GPUCompilationMessageType;
|
|
9826
|
+
}
|
|
9827
|
+
|
|
9828
|
+
declare var GPUCompilationMessage: {
|
|
9829
|
+
prototype: GPUCompilationMessage;
|
|
9830
|
+
new(): GPUCompilationMessage;
|
|
9831
|
+
};
|
|
9832
|
+
|
|
9833
|
+
/**
|
|
9834
|
+
* Available only in secure contexts.
|
|
9835
|
+
*
|
|
9836
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder)
|
|
9837
|
+
*/
|
|
9838
|
+
interface GPUComputePassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase {
|
|
9839
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroups) */
|
|
9840
|
+
dispatchWorkgroups(workgroupCountX: GPUSize32, workgroupCountY?: GPUSize32, workgroupCountZ?: GPUSize32): void;
|
|
9841
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect) */
|
|
9842
|
+
dispatchWorkgroupsIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
9843
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/end) */
|
|
9844
|
+
end(): void;
|
|
9845
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setPipeline) */
|
|
9846
|
+
setPipeline(pipeline: GPUComputePipeline): void;
|
|
9847
|
+
}
|
|
9848
|
+
|
|
9849
|
+
declare var GPUComputePassEncoder: {
|
|
9850
|
+
prototype: GPUComputePassEncoder;
|
|
9851
|
+
new(): GPUComputePassEncoder;
|
|
9852
|
+
};
|
|
9853
|
+
|
|
9854
|
+
/**
|
|
9855
|
+
* Available only in secure contexts.
|
|
9856
|
+
*
|
|
9857
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline)
|
|
9858
|
+
*/
|
|
9859
|
+
interface GPUComputePipeline extends GPUObjectBase, GPUPipelineBase {
|
|
9860
|
+
}
|
|
9861
|
+
|
|
9862
|
+
declare var GPUComputePipeline: {
|
|
9863
|
+
prototype: GPUComputePipeline;
|
|
9864
|
+
new(): GPUComputePipeline;
|
|
9865
|
+
};
|
|
9866
|
+
|
|
9867
|
+
interface GPUDebugCommandsMixin {
|
|
9868
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/insertDebugMarker) */
|
|
9869
|
+
insertDebugMarker(markerLabel: string): void;
|
|
9870
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/popDebugGroup) */
|
|
9871
|
+
popDebugGroup(): void;
|
|
9872
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/pushDebugGroup) */
|
|
9873
|
+
pushDebugGroup(groupLabel: string): void;
|
|
9874
|
+
}
|
|
9875
|
+
|
|
9876
|
+
/**
|
|
9877
|
+
* Available only in secure contexts.
|
|
9878
|
+
*
|
|
9879
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice)
|
|
9880
|
+
*/
|
|
9881
|
+
interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
9882
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/features) */
|
|
9883
|
+
readonly features: GPUSupportedFeatures;
|
|
9884
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/limits) */
|
|
9885
|
+
readonly limits: GPUSupportedLimits;
|
|
9886
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/lost) */
|
|
9887
|
+
readonly lost: Promise<GPUDeviceLostInfo>;
|
|
9888
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/queue) */
|
|
9889
|
+
readonly queue: GPUQueue;
|
|
9890
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroup) */
|
|
9891
|
+
createBindGroup(descriptor: GPUBindGroupDescriptor): GPUBindGroup;
|
|
9892
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBindGroupLayout) */
|
|
9893
|
+
createBindGroupLayout(descriptor: GPUBindGroupLayoutDescriptor): GPUBindGroupLayout;
|
|
9894
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createBuffer) */
|
|
9895
|
+
createBuffer(descriptor: GPUBufferDescriptor): GPUBuffer;
|
|
9896
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createCommandEncoder) */
|
|
9897
|
+
createCommandEncoder(descriptor?: GPUCommandEncoderDescriptor): GPUCommandEncoder;
|
|
9898
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipeline) */
|
|
9899
|
+
createComputePipeline(descriptor: GPUComputePipelineDescriptor): GPUComputePipeline;
|
|
9900
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createComputePipelineAsync) */
|
|
9901
|
+
createComputePipelineAsync(descriptor: GPUComputePipelineDescriptor): Promise<GPUComputePipeline>;
|
|
9902
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createPipelineLayout) */
|
|
9903
|
+
createPipelineLayout(descriptor: GPUPipelineLayoutDescriptor): GPUPipelineLayout;
|
|
9904
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createQuerySet) */
|
|
9905
|
+
createQuerySet(descriptor: GPUQuerySetDescriptor): GPUQuerySet;
|
|
9906
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderBundleEncoder) */
|
|
9907
|
+
createRenderBundleEncoder(descriptor: GPURenderBundleEncoderDescriptor): GPURenderBundleEncoder;
|
|
9908
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipeline) */
|
|
9909
|
+
createRenderPipeline(descriptor: GPURenderPipelineDescriptor): GPURenderPipeline;
|
|
9910
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createRenderPipelineAsync) */
|
|
9911
|
+
createRenderPipelineAsync(descriptor: GPURenderPipelineDescriptor): Promise<GPURenderPipeline>;
|
|
9912
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler) */
|
|
9913
|
+
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
9914
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule) */
|
|
9915
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
9916
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture) */
|
|
9917
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
9918
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/destroy) */
|
|
9919
|
+
destroy(): void;
|
|
9920
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/importExternalTexture) */
|
|
9921
|
+
importExternalTexture(descriptor: GPUExternalTextureDescriptor): GPUExternalTexture;
|
|
9922
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/popErrorScope) */
|
|
9923
|
+
popErrorScope(): Promise<GPUError | null>;
|
|
9924
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/pushErrorScope) */
|
|
9925
|
+
pushErrorScope(filter: GPUErrorFilter): void;
|
|
9926
|
+
}
|
|
9927
|
+
|
|
9928
|
+
declare var GPUDevice: {
|
|
9929
|
+
prototype: GPUDevice;
|
|
9930
|
+
new(): GPUDevice;
|
|
9931
|
+
};
|
|
9932
|
+
|
|
9933
|
+
/**
|
|
9934
|
+
* Available only in secure contexts.
|
|
9935
|
+
*
|
|
9936
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo)
|
|
9937
|
+
*/
|
|
9938
|
+
interface GPUDeviceLostInfo {
|
|
9939
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/message) */
|
|
9940
|
+
readonly message: string;
|
|
9941
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/reason) */
|
|
9942
|
+
readonly reason: GPUDeviceLostReason;
|
|
9943
|
+
}
|
|
9944
|
+
|
|
9945
|
+
declare var GPUDeviceLostInfo: {
|
|
9946
|
+
prototype: GPUDeviceLostInfo;
|
|
9947
|
+
new(): GPUDeviceLostInfo;
|
|
9948
|
+
};
|
|
9949
|
+
|
|
9950
|
+
/**
|
|
9951
|
+
* Available only in secure contexts.
|
|
9952
|
+
*
|
|
9953
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError)
|
|
9954
|
+
*/
|
|
9955
|
+
interface GPUError {
|
|
9956
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUError/message) */
|
|
9957
|
+
readonly message: string;
|
|
9958
|
+
}
|
|
9959
|
+
|
|
9960
|
+
/**
|
|
9961
|
+
* Available only in secure contexts.
|
|
9962
|
+
*
|
|
9963
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUExternalTexture)
|
|
9964
|
+
*/
|
|
9965
|
+
interface GPUExternalTexture extends GPUObjectBase {
|
|
9966
|
+
}
|
|
9967
|
+
|
|
9968
|
+
declare var GPUExternalTexture: {
|
|
9969
|
+
prototype: GPUExternalTexture;
|
|
9970
|
+
new(): GPUExternalTexture;
|
|
9971
|
+
};
|
|
9972
|
+
|
|
9973
|
+
/**
|
|
9974
|
+
* Available only in secure contexts.
|
|
9975
|
+
*
|
|
9976
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUInternalError)
|
|
9977
|
+
*/
|
|
9978
|
+
interface GPUInternalError extends GPUError {
|
|
9979
|
+
}
|
|
9980
|
+
|
|
9981
|
+
declare var GPUInternalError: {
|
|
9982
|
+
prototype: GPUInternalError;
|
|
9983
|
+
new(message: string): GPUInternalError;
|
|
9984
|
+
};
|
|
9985
|
+
|
|
9986
|
+
interface GPUObjectBase {
|
|
9987
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUBindGroup/label) */
|
|
9988
|
+
label: string;
|
|
9989
|
+
}
|
|
9990
|
+
|
|
9991
|
+
/**
|
|
9992
|
+
* Available only in secure contexts.
|
|
9993
|
+
*
|
|
9994
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUOutOfMemoryError)
|
|
9995
|
+
*/
|
|
9996
|
+
interface GPUOutOfMemoryError extends GPUError {
|
|
9997
|
+
}
|
|
9998
|
+
|
|
9999
|
+
declare var GPUOutOfMemoryError: {
|
|
10000
|
+
prototype: GPUOutOfMemoryError;
|
|
10001
|
+
new(message: string): GPUOutOfMemoryError;
|
|
10002
|
+
};
|
|
10003
|
+
|
|
10004
|
+
interface GPUPipelineBase {
|
|
10005
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePipeline/getBindGroupLayout) */
|
|
10006
|
+
getBindGroupLayout(index: number): GPUBindGroupLayout;
|
|
10007
|
+
}
|
|
10008
|
+
|
|
10009
|
+
/**
|
|
10010
|
+
* Available only in secure contexts.
|
|
10011
|
+
*
|
|
10012
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError)
|
|
10013
|
+
*/
|
|
10014
|
+
interface GPUPipelineError extends DOMException {
|
|
10015
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineError/reason) */
|
|
10016
|
+
readonly reason: GPUPipelineErrorReason;
|
|
10017
|
+
}
|
|
10018
|
+
|
|
10019
|
+
declare var GPUPipelineError: {
|
|
10020
|
+
prototype: GPUPipelineError;
|
|
10021
|
+
new(message: string, options: GPUPipelineErrorInit): GPUPipelineError;
|
|
10022
|
+
};
|
|
10023
|
+
|
|
10024
|
+
/**
|
|
10025
|
+
* Available only in secure contexts.
|
|
10026
|
+
*
|
|
10027
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUPipelineLayout)
|
|
10028
|
+
*/
|
|
10029
|
+
interface GPUPipelineLayout extends GPUObjectBase {
|
|
10030
|
+
}
|
|
10031
|
+
|
|
10032
|
+
declare var GPUPipelineLayout: {
|
|
10033
|
+
prototype: GPUPipelineLayout;
|
|
10034
|
+
new(): GPUPipelineLayout;
|
|
10035
|
+
};
|
|
10036
|
+
|
|
10037
|
+
/**
|
|
10038
|
+
* Available only in secure contexts.
|
|
10039
|
+
*
|
|
10040
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet)
|
|
10041
|
+
*/
|
|
10042
|
+
interface GPUQuerySet extends GPUObjectBase {
|
|
10043
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/count) */
|
|
10044
|
+
readonly count: GPUSize32Out;
|
|
10045
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/type) */
|
|
10046
|
+
readonly type: GPUQueryType;
|
|
10047
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQuerySet/destroy) */
|
|
10048
|
+
destroy(): void;
|
|
10049
|
+
}
|
|
10050
|
+
|
|
10051
|
+
declare var GPUQuerySet: {
|
|
10052
|
+
prototype: GPUQuerySet;
|
|
10053
|
+
new(): GPUQuerySet;
|
|
10054
|
+
};
|
|
10055
|
+
|
|
10056
|
+
/**
|
|
10057
|
+
* Available only in secure contexts.
|
|
10058
|
+
*
|
|
10059
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue)
|
|
10060
|
+
*/
|
|
10061
|
+
interface GPUQueue extends GPUObjectBase {
|
|
10062
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
|
|
10063
|
+
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: GPUExtent3D): void;
|
|
10064
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/onSubmittedWorkDone) */
|
|
10065
|
+
onSubmittedWorkDone(): Promise<void>;
|
|
10066
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
|
|
10067
|
+
submit(commandBuffers: GPUCommandBuffer[]): void;
|
|
10068
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeBuffer) */
|
|
10069
|
+
writeBuffer(buffer: GPUBuffer, bufferOffset: GPUSize64, data: AllowSharedBufferSource, dataOffset?: GPUSize64, size?: GPUSize64): void;
|
|
10070
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
|
|
10071
|
+
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: GPUExtent3D): void;
|
|
10072
|
+
}
|
|
10073
|
+
|
|
10074
|
+
declare var GPUQueue: {
|
|
10075
|
+
prototype: GPUQueue;
|
|
10076
|
+
new(): GPUQueue;
|
|
10077
|
+
};
|
|
10078
|
+
|
|
10079
|
+
/**
|
|
10080
|
+
* Available only in secure contexts.
|
|
10081
|
+
*
|
|
10082
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundle)
|
|
10083
|
+
*/
|
|
10084
|
+
interface GPURenderBundle extends GPUObjectBase {
|
|
10085
|
+
}
|
|
10086
|
+
|
|
10087
|
+
declare var GPURenderBundle: {
|
|
10088
|
+
prototype: GPURenderBundle;
|
|
10089
|
+
new(): GPURenderBundle;
|
|
10090
|
+
};
|
|
10091
|
+
|
|
10092
|
+
/**
|
|
10093
|
+
* Available only in secure contexts.
|
|
10094
|
+
*
|
|
10095
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder)
|
|
10096
|
+
*/
|
|
10097
|
+
interface GPURenderBundleEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
|
|
10098
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/finish) */
|
|
10099
|
+
finish(descriptor?: GPURenderBundleDescriptor): GPURenderBundle;
|
|
10100
|
+
}
|
|
10101
|
+
|
|
10102
|
+
declare var GPURenderBundleEncoder: {
|
|
10103
|
+
prototype: GPURenderBundleEncoder;
|
|
10104
|
+
new(): GPURenderBundleEncoder;
|
|
10105
|
+
};
|
|
10106
|
+
|
|
10107
|
+
interface GPURenderCommandsMixin {
|
|
10108
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/draw) */
|
|
10109
|
+
draw(vertexCount: GPUSize32, instanceCount?: GPUSize32, firstVertex?: GPUSize32, firstInstance?: GPUSize32): void;
|
|
10110
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexed) */
|
|
10111
|
+
drawIndexed(indexCount: GPUSize32, instanceCount?: GPUSize32, firstIndex?: GPUSize32, baseVertex?: GPUSignedOffset32, firstInstance?: GPUSize32): void;
|
|
10112
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndexedIndirect) */
|
|
10113
|
+
drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
10114
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/drawIndirect) */
|
|
10115
|
+
drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: GPUSize64): void;
|
|
10116
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setIndexBuffer) */
|
|
10117
|
+
setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset?: GPUSize64, size?: GPUSize64): void;
|
|
10118
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setPipeline) */
|
|
10119
|
+
setPipeline(pipeline: GPURenderPipeline): void;
|
|
10120
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderBundleEncoder/setVertexBuffer) */
|
|
10121
|
+
setVertexBuffer(slot: GPUIndex32, buffer: GPUBuffer | null, offset?: GPUSize64, size?: GPUSize64): void;
|
|
10122
|
+
}
|
|
10123
|
+
|
|
10124
|
+
/**
|
|
10125
|
+
* Available only in secure contexts.
|
|
10126
|
+
*
|
|
10127
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder)
|
|
10128
|
+
*/
|
|
10129
|
+
interface GPURenderPassEncoder extends GPUBindingCommandsMixin, GPUDebugCommandsMixin, GPUObjectBase, GPURenderCommandsMixin {
|
|
10130
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/beginOcclusionQuery) */
|
|
10131
|
+
beginOcclusionQuery(queryIndex: GPUSize32): void;
|
|
10132
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/end) */
|
|
10133
|
+
end(): void;
|
|
10134
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/endOcclusionQuery) */
|
|
10135
|
+
endOcclusionQuery(): void;
|
|
10136
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
|
|
10137
|
+
executeBundles(bundles: GPURenderBundle[]): void;
|
|
10138
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
|
|
10139
|
+
setBlendConstant(color: GPUColor): void;
|
|
10140
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setScissorRect) */
|
|
10141
|
+
setScissorRect(x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate): void;
|
|
10142
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setStencilReference) */
|
|
10143
|
+
setStencilReference(reference: GPUStencilValue): void;
|
|
10144
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setViewport) */
|
|
10145
|
+
setViewport(x: number, y: number, width: number, height: number, minDepth: number, maxDepth: number): void;
|
|
10146
|
+
}
|
|
10147
|
+
|
|
10148
|
+
declare var GPURenderPassEncoder: {
|
|
10149
|
+
prototype: GPURenderPassEncoder;
|
|
10150
|
+
new(): GPURenderPassEncoder;
|
|
10151
|
+
};
|
|
10152
|
+
|
|
10153
|
+
/**
|
|
10154
|
+
* Available only in secure contexts.
|
|
10155
|
+
*
|
|
10156
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPipeline)
|
|
10157
|
+
*/
|
|
10158
|
+
interface GPURenderPipeline extends GPUObjectBase, GPUPipelineBase {
|
|
10159
|
+
}
|
|
10160
|
+
|
|
10161
|
+
declare var GPURenderPipeline: {
|
|
10162
|
+
prototype: GPURenderPipeline;
|
|
10163
|
+
new(): GPURenderPipeline;
|
|
10164
|
+
};
|
|
10165
|
+
|
|
10166
|
+
/**
|
|
10167
|
+
* Available only in secure contexts.
|
|
10168
|
+
*
|
|
10169
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSampler)
|
|
10170
|
+
*/
|
|
10171
|
+
interface GPUSampler extends GPUObjectBase {
|
|
10172
|
+
}
|
|
10173
|
+
|
|
10174
|
+
declare var GPUSampler: {
|
|
10175
|
+
prototype: GPUSampler;
|
|
10176
|
+
new(): GPUSampler;
|
|
10177
|
+
};
|
|
10178
|
+
|
|
10179
|
+
/**
|
|
10180
|
+
* Available only in secure contexts.
|
|
10181
|
+
*
|
|
10182
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule)
|
|
10183
|
+
*/
|
|
10184
|
+
interface GPUShaderModule extends GPUObjectBase {
|
|
10185
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUShaderModule/getCompilationInfo) */
|
|
10186
|
+
getCompilationInfo(): Promise<GPUCompilationInfo>;
|
|
10187
|
+
}
|
|
10188
|
+
|
|
10189
|
+
declare var GPUShaderModule: {
|
|
10190
|
+
prototype: GPUShaderModule;
|
|
10191
|
+
new(): GPUShaderModule;
|
|
10192
|
+
};
|
|
10193
|
+
|
|
10194
|
+
/**
|
|
10195
|
+
* Available only in secure contexts.
|
|
10196
|
+
*
|
|
10197
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedFeatures)
|
|
10198
|
+
*/
|
|
10199
|
+
interface GPUSupportedFeatures {
|
|
10200
|
+
forEach(callbackfn: (value: string, key: string, parent: GPUSupportedFeatures) => void, thisArg?: any): void;
|
|
10201
|
+
}
|
|
10202
|
+
|
|
10203
|
+
declare var GPUSupportedFeatures: {
|
|
10204
|
+
prototype: GPUSupportedFeatures;
|
|
10205
|
+
new(): GPUSupportedFeatures;
|
|
10206
|
+
};
|
|
10207
|
+
|
|
10208
|
+
/**
|
|
10209
|
+
* Available only in secure contexts.
|
|
10210
|
+
*
|
|
10211
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits)
|
|
10212
|
+
*/
|
|
10213
|
+
interface GPUSupportedLimits {
|
|
10214
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10215
|
+
readonly maxBindGroups: number;
|
|
10216
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10217
|
+
readonly maxBindGroupsPlusVertexBuffers: number;
|
|
10218
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10219
|
+
readonly maxBindingsPerBindGroup: number;
|
|
10220
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10221
|
+
readonly maxBufferSize: number;
|
|
10222
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10223
|
+
readonly maxColorAttachmentBytesPerSample: number;
|
|
10224
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10225
|
+
readonly maxColorAttachments: number;
|
|
10226
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10227
|
+
readonly maxComputeInvocationsPerWorkgroup: number;
|
|
10228
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10229
|
+
readonly maxComputeWorkgroupSizeX: number;
|
|
10230
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10231
|
+
readonly maxComputeWorkgroupSizeY: number;
|
|
10232
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10233
|
+
readonly maxComputeWorkgroupSizeZ: number;
|
|
10234
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10235
|
+
readonly maxComputeWorkgroupStorageSize: number;
|
|
10236
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10237
|
+
readonly maxComputeWorkgroupsPerDimension: number;
|
|
10238
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10239
|
+
readonly maxDynamicStorageBuffersPerPipelineLayout: number;
|
|
10240
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10241
|
+
readonly maxDynamicUniformBuffersPerPipelineLayout: number;
|
|
10242
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10243
|
+
readonly maxInterStageShaderVariables: number;
|
|
10244
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10245
|
+
readonly maxSampledTexturesPerShaderStage: number;
|
|
10246
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10247
|
+
readonly maxSamplersPerShaderStage: number;
|
|
10248
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10249
|
+
readonly maxStorageBufferBindingSize: number;
|
|
10250
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10251
|
+
readonly maxStorageBuffersPerShaderStage: number;
|
|
10252
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10253
|
+
readonly maxStorageTexturesPerShaderStage: number;
|
|
10254
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10255
|
+
readonly maxTextureArrayLayers: number;
|
|
10256
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10257
|
+
readonly maxTextureDimension1D: number;
|
|
10258
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10259
|
+
readonly maxTextureDimension2D: number;
|
|
10260
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10261
|
+
readonly maxTextureDimension3D: number;
|
|
10262
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10263
|
+
readonly maxUniformBufferBindingSize: number;
|
|
10264
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10265
|
+
readonly maxUniformBuffersPerShaderStage: number;
|
|
10266
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10267
|
+
readonly maxVertexAttributes: number;
|
|
10268
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10269
|
+
readonly maxVertexBufferArrayStride: number;
|
|
10270
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10271
|
+
readonly maxVertexBuffers: number;
|
|
10272
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10273
|
+
readonly minStorageBufferOffsetAlignment: number;
|
|
10274
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUSupportedLimits#instance_properties) */
|
|
10275
|
+
readonly minUniformBufferOffsetAlignment: number;
|
|
10276
|
+
}
|
|
10277
|
+
|
|
10278
|
+
declare var GPUSupportedLimits: {
|
|
10279
|
+
prototype: GPUSupportedLimits;
|
|
10280
|
+
new(): GPUSupportedLimits;
|
|
10281
|
+
};
|
|
10282
|
+
|
|
10283
|
+
/**
|
|
10284
|
+
* Available only in secure contexts.
|
|
10285
|
+
*
|
|
10286
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture)
|
|
10287
|
+
*/
|
|
10288
|
+
interface GPUTexture extends GPUObjectBase {
|
|
10289
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/depthOrArrayLayers) */
|
|
10290
|
+
readonly depthOrArrayLayers: GPUIntegerCoordinateOut;
|
|
10291
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/dimension) */
|
|
10292
|
+
readonly dimension: GPUTextureDimension;
|
|
10293
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/format) */
|
|
10294
|
+
readonly format: GPUTextureFormat;
|
|
10295
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/height) */
|
|
10296
|
+
readonly height: GPUIntegerCoordinateOut;
|
|
10297
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/mipLevelCount) */
|
|
10298
|
+
readonly mipLevelCount: GPUIntegerCoordinateOut;
|
|
10299
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/sampleCount) */
|
|
10300
|
+
readonly sampleCount: GPUSize32Out;
|
|
10301
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/usage) */
|
|
10302
|
+
readonly usage: GPUFlagsConstant;
|
|
10303
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/width) */
|
|
10304
|
+
readonly width: GPUIntegerCoordinateOut;
|
|
10305
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/createView) */
|
|
10306
|
+
createView(descriptor?: GPUTextureViewDescriptor): GPUTextureView;
|
|
10307
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTexture/destroy) */
|
|
10308
|
+
destroy(): void;
|
|
10309
|
+
}
|
|
10310
|
+
|
|
10311
|
+
declare var GPUTexture: {
|
|
10312
|
+
prototype: GPUTexture;
|
|
10313
|
+
new(): GPUTexture;
|
|
10314
|
+
};
|
|
10315
|
+
|
|
10316
|
+
/**
|
|
10317
|
+
* Available only in secure contexts.
|
|
10318
|
+
*
|
|
10319
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUTextureView)
|
|
10320
|
+
*/
|
|
10321
|
+
interface GPUTextureView extends GPUObjectBase {
|
|
10322
|
+
}
|
|
10323
|
+
|
|
10324
|
+
declare var GPUTextureView: {
|
|
10325
|
+
prototype: GPUTextureView;
|
|
10326
|
+
new(): GPUTextureView;
|
|
10327
|
+
};
|
|
10328
|
+
|
|
10329
|
+
/**
|
|
10330
|
+
* Available only in secure contexts.
|
|
10331
|
+
*
|
|
10332
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent)
|
|
10333
|
+
*/
|
|
10334
|
+
interface GPUUncapturedErrorEvent extends Event {
|
|
10335
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUUncapturedErrorEvent/error) */
|
|
10336
|
+
readonly error: GPUError;
|
|
10337
|
+
}
|
|
10338
|
+
|
|
10339
|
+
declare var GPUUncapturedErrorEvent: {
|
|
10340
|
+
prototype: GPUUncapturedErrorEvent;
|
|
10341
|
+
new(type: string, gpuUncapturedErrorEventInitDict: GPUUncapturedErrorEventInit): GPUUncapturedErrorEvent;
|
|
10342
|
+
};
|
|
10343
|
+
|
|
10344
|
+
/**
|
|
10345
|
+
* Available only in secure contexts.
|
|
10346
|
+
*
|
|
10347
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUValidationError)
|
|
10348
|
+
*/
|
|
10349
|
+
interface GPUValidationError extends GPUError {
|
|
10350
|
+
}
|
|
10351
|
+
|
|
10352
|
+
declare var GPUValidationError: {
|
|
10353
|
+
prototype: GPUValidationError;
|
|
10354
|
+
new(message: string): GPUValidationError;
|
|
10355
|
+
};
|
|
10356
|
+
|
|
9203
10357
|
/**
|
|
9204
10358
|
* 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.
|
|
9205
10359
|
*
|
|
@@ -9875,7 +11029,7 @@ interface GlobalEventHandlers {
|
|
|
9875
11029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
|
|
9876
11030
|
*/
|
|
9877
11031
|
ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9878
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
11032
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */
|
|
9879
11033
|
ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
9880
11034
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */
|
|
9881
11035
|
ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -16609,7 +17763,7 @@ declare var NavigationPreloadManager: {
|
|
|
16609
17763
|
*
|
|
16610
17764
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator)
|
|
16611
17765
|
*/
|
|
16612
|
-
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
17766
|
+
interface Navigator extends NavigatorAutomationInformation, NavigatorBadge, NavigatorConcurrentHardware, NavigatorContentUtils, NavigatorCookies, NavigatorGPU, NavigatorID, NavigatorLanguage, NavigatorLocks, NavigatorOnLine, NavigatorPlugins, NavigatorStorage {
|
|
16613
17767
|
/**
|
|
16614
17768
|
* Available only in secure contexts.
|
|
16615
17769
|
*
|
|
@@ -16718,6 +17872,15 @@ interface NavigatorCookies {
|
|
|
16718
17872
|
readonly cookieEnabled: boolean;
|
|
16719
17873
|
}
|
|
16720
17874
|
|
|
17875
|
+
interface NavigatorGPU {
|
|
17876
|
+
/**
|
|
17877
|
+
* Available only in secure contexts.
|
|
17878
|
+
*
|
|
17879
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/gpu)
|
|
17880
|
+
*/
|
|
17881
|
+
readonly gpu: GPU;
|
|
17882
|
+
}
|
|
17883
|
+
|
|
16721
17884
|
interface NavigatorID {
|
|
16722
17885
|
/**
|
|
16723
17886
|
* @deprecated
|
|
@@ -24085,6 +25248,20 @@ interface WEBGL_multi_draw {
|
|
|
24085
25248
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLsizei[], countsOffset: number, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: number, drawcount: GLsizei): void;
|
|
24086
25249
|
}
|
|
24087
25250
|
|
|
25251
|
+
/**
|
|
25252
|
+
* Available only in secure contexts.
|
|
25253
|
+
*
|
|
25254
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WGSLLanguageFeatures)
|
|
25255
|
+
*/
|
|
25256
|
+
interface WGSLLanguageFeatures {
|
|
25257
|
+
forEach(callbackfn: (value: string, key: string, parent: WGSLLanguageFeatures) => void, thisArg?: any): void;
|
|
25258
|
+
}
|
|
25259
|
+
|
|
25260
|
+
declare var WGSLLanguageFeatures: {
|
|
25261
|
+
prototype: WGSLLanguageFeatures;
|
|
25262
|
+
new(): WGSLLanguageFeatures;
|
|
25263
|
+
};
|
|
25264
|
+
|
|
24088
25265
|
/**
|
|
24089
25266
|
* Available only in secure contexts.
|
|
24090
25267
|
*
|
|
@@ -28852,7 +30029,7 @@ declare var onsuspend: ((this: Window, ev: Event) => any) | null;
|
|
|
28852
30029
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/timeupdate_event)
|
|
28853
30030
|
*/
|
|
28854
30031
|
declare var ontimeupdate: ((this: Window, ev: Event) => any) | null;
|
|
28855
|
-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/
|
|
30032
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/toggle_event) */
|
|
28856
30033
|
declare var ontoggle: ((this: Window, ev: Event) => any) | null;
|
|
28857
30034
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/touchcancel_event) */
|
|
28858
30035
|
declare var ontouchcancel: ((this: Window, ev: TouchEvent) => any) | null | undefined;
|
|
@@ -29043,6 +30220,31 @@ type GLsizei = number;
|
|
|
29043
30220
|
type GLsizeiptr = number;
|
|
29044
30221
|
type GLuint = number;
|
|
29045
30222
|
type GLuint64 = number;
|
|
30223
|
+
type GPUBindingResource = GPUSampler | GPUTextureView | GPUBufferBinding | GPUExternalTexture;
|
|
30224
|
+
type GPUBufferDynamicOffset = number;
|
|
30225
|
+
type GPUBufferUsageFlags = number;
|
|
30226
|
+
type GPUColor = number[] | GPUColorDict;
|
|
30227
|
+
type GPUColorWriteFlags = number;
|
|
30228
|
+
type GPUCopyExternalImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLVideoElement | VideoFrame | HTMLCanvasElement | OffscreenCanvas;
|
|
30229
|
+
type GPUDepthBias = number;
|
|
30230
|
+
type GPUExtent3D = GPUIntegerCoordinate[] | GPUExtent3DDict;
|
|
30231
|
+
type GPUFlagsConstant = number;
|
|
30232
|
+
type GPUIndex32 = number;
|
|
30233
|
+
type GPUIntegerCoordinate = number;
|
|
30234
|
+
type GPUIntegerCoordinateOut = number;
|
|
30235
|
+
type GPUMapModeFlags = number;
|
|
30236
|
+
type GPUOrigin2D = GPUIntegerCoordinate[] | GPUOrigin2DDict;
|
|
30237
|
+
type GPUOrigin3D = GPUIntegerCoordinate[] | GPUOrigin3DDict;
|
|
30238
|
+
type GPUPipelineConstantValue = number;
|
|
30239
|
+
type GPUSampleMask = number;
|
|
30240
|
+
type GPUShaderStageFlags = number;
|
|
30241
|
+
type GPUSignedOffset32 = number;
|
|
30242
|
+
type GPUSize32 = number;
|
|
30243
|
+
type GPUSize32Out = number;
|
|
30244
|
+
type GPUSize64 = number;
|
|
30245
|
+
type GPUSize64Out = number;
|
|
30246
|
+
type GPUStencilValue = number;
|
|
30247
|
+
type GPUTextureUsageFlags = number;
|
|
29046
30248
|
type HTMLOrSVGImageElement = HTMLImageElement | SVGImageElement;
|
|
29047
30249
|
type HTMLOrSVGScriptElement = HTMLScriptElement | SVGScriptElement;
|
|
29048
30250
|
type HashAlgorithmIdentifier = AlgorithmIdentifier;
|
|
@@ -29056,7 +30258,7 @@ type MediaProvider = MediaStream | MediaSource | Blob;
|
|
|
29056
30258
|
type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
|
|
29057
30259
|
type MutationRecordType = "attributes" | "characterData" | "childList";
|
|
29058
30260
|
type NamedCurve = string;
|
|
29059
|
-
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30261
|
+
type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
|
|
29060
30262
|
type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
|
|
29061
30263
|
type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
|
|
29062
30264
|
type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
@@ -29067,7 +30269,7 @@ type RTCRtpTransform = RTCRtpScriptTransform;
|
|
|
29067
30269
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
29068
30270
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
29069
30271
|
type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
|
|
29070
|
-
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
|
|
30272
|
+
type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
|
|
29071
30273
|
type ReportList = Report[];
|
|
29072
30274
|
type RequestInfo = Request | string;
|
|
29073
30275
|
type TexImageSource = ImageBitmap | ImageData | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement | OffscreenCanvas | VideoFrame;
|
|
@@ -29139,6 +30341,40 @@ type FontDisplay = "auto" | "block" | "fallback" | "optional" | "swap";
|
|
|
29139
30341
|
type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
|
|
29140
30342
|
type FontFaceSetLoadStatus = "loaded" | "loading";
|
|
29141
30343
|
type FullscreenNavigationUI = "auto" | "hide" | "show";
|
|
30344
|
+
type GPUAddressMode = "clamp-to-edge" | "mirror-repeat" | "repeat";
|
|
30345
|
+
type GPUAutoLayoutMode = "auto";
|
|
30346
|
+
type GPUBlendFactor = "constant" | "dst" | "dst-alpha" | "one" | "one-minus-constant" | "one-minus-dst" | "one-minus-dst-alpha" | "one-minus-src" | "one-minus-src-alpha" | "src" | "src-alpha" | "src-alpha-saturated" | "zero";
|
|
30347
|
+
type GPUBlendOperation = "add" | "max" | "min" | "reverse-subtract" | "subtract";
|
|
30348
|
+
type GPUBufferBindingType = "read-only-storage" | "storage" | "uniform";
|
|
30349
|
+
type GPUBufferMapState = "mapped" | "pending" | "unmapped";
|
|
30350
|
+
type GPUCanvasAlphaMode = "opaque" | "premultiplied";
|
|
30351
|
+
type GPUCanvasToneMappingMode = "extended" | "standard";
|
|
30352
|
+
type GPUCompareFunction = "always" | "equal" | "greater" | "greater-equal" | "less" | "less-equal" | "never" | "not-equal";
|
|
30353
|
+
type GPUCompilationMessageType = "error" | "info" | "warning";
|
|
30354
|
+
type GPUCullMode = "back" | "front" | "none";
|
|
30355
|
+
type GPUDeviceLostReason = "destroyed" | "unknown";
|
|
30356
|
+
type GPUErrorFilter = "internal" | "out-of-memory" | "validation";
|
|
30357
|
+
type GPUFeatureName = "bgra8unorm-storage" | "depth-clip-control" | "depth32float-stencil8" | "float32-filterable" | "indirect-first-instance" | "rg11b10ufloat-renderable" | "shader-f16" | "texture-compression-astc" | "texture-compression-bc" | "texture-compression-etc2" | "timestamp-query";
|
|
30358
|
+
type GPUFilterMode = "linear" | "nearest";
|
|
30359
|
+
type GPUFrontFace = "ccw" | "cw";
|
|
30360
|
+
type GPUIndexFormat = "uint16" | "uint32";
|
|
30361
|
+
type GPULoadOp = "clear" | "load";
|
|
30362
|
+
type GPUMipmapFilterMode = "linear" | "nearest";
|
|
30363
|
+
type GPUPipelineErrorReason = "internal" | "validation";
|
|
30364
|
+
type GPUPowerPreference = "high-performance" | "low-power";
|
|
30365
|
+
type GPUPrimitiveTopology = "line-list" | "line-strip" | "point-list" | "triangle-list" | "triangle-strip";
|
|
30366
|
+
type GPUQueryType = "occlusion" | "timestamp";
|
|
30367
|
+
type GPUSamplerBindingType = "comparison" | "filtering" | "non-filtering";
|
|
30368
|
+
type GPUStencilOperation = "decrement-clamp" | "decrement-wrap" | "increment-clamp" | "increment-wrap" | "invert" | "keep" | "replace" | "zero";
|
|
30369
|
+
type GPUStorageTextureAccess = "read-only" | "read-write" | "write-only";
|
|
30370
|
+
type GPUStoreOp = "discard" | "store";
|
|
30371
|
+
type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
|
|
30372
|
+
type GPUTextureDimension = "1d" | "2d" | "3d";
|
|
30373
|
+
type GPUTextureFormat = "astc-10x10-unorm" | "astc-10x10-unorm-srgb" | "astc-10x5-unorm" | "astc-10x5-unorm-srgb" | "astc-10x6-unorm" | "astc-10x6-unorm-srgb" | "astc-10x8-unorm" | "astc-10x8-unorm-srgb" | "astc-12x10-unorm" | "astc-12x10-unorm-srgb" | "astc-12x12-unorm" | "astc-12x12-unorm-srgb" | "astc-4x4-unorm" | "astc-4x4-unorm-srgb" | "astc-5x4-unorm" | "astc-5x4-unorm-srgb" | "astc-5x5-unorm" | "astc-5x5-unorm-srgb" | "astc-6x5-unorm" | "astc-6x5-unorm-srgb" | "astc-6x6-unorm" | "astc-6x6-unorm-srgb" | "astc-8x5-unorm" | "astc-8x5-unorm-srgb" | "astc-8x6-unorm" | "astc-8x6-unorm-srgb" | "astc-8x8-unorm" | "astc-8x8-unorm-srgb" | "bc1-rgba-unorm" | "bc1-rgba-unorm-srgb" | "bc2-rgba-unorm" | "bc2-rgba-unorm-srgb" | "bc3-rgba-unorm" | "bc3-rgba-unorm-srgb" | "bc4-r-snorm" | "bc4-r-unorm" | "bc5-rg-snorm" | "bc5-rg-unorm" | "bc6h-rgb-float" | "bc6h-rgb-ufloat" | "bc7-rgba-unorm" | "bc7-rgba-unorm-srgb" | "bgra8unorm" | "bgra8unorm-srgb" | "depth16unorm" | "depth24plus" | "depth24plus-stencil8" | "depth32float" | "depth32float-stencil8" | "eac-r11snorm" | "eac-r11unorm" | "eac-rg11snorm" | "eac-rg11unorm" | "etc2-rgb8a1unorm" | "etc2-rgb8a1unorm-srgb" | "etc2-rgb8unorm" | "etc2-rgb8unorm-srgb" | "etc2-rgba8unorm" | "etc2-rgba8unorm-srgb" | "r16float" | "r16sint" | "r16uint" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16uint" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16uint" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
|
|
30374
|
+
type GPUTextureSampleType = "depth" | "float" | "sint" | "uint" | "unfilterable-float";
|
|
30375
|
+
type GPUTextureViewDimension = "1d" | "2d" | "2d-array" | "3d" | "cube" | "cube-array";
|
|
30376
|
+
type GPUVertexFormat = "float16x2" | "float16x4" | "float32" | "float32x2" | "float32x3" | "float32x4" | "sint16x2" | "sint16x4" | "sint32" | "sint32x2" | "sint32x3" | "sint32x4" | "sint8x2" | "sint8x4" | "snorm16x2" | "snorm16x4" | "snorm8x2" | "snorm8x4" | "uint16x2" | "uint16x4" | "uint32" | "uint32x2" | "uint32x3" | "uint32x4" | "uint8x2" | "uint8x4" | "unorm10-10-10-2" | "unorm16x2" | "unorm16x4" | "unorm8x2" | "unorm8x4";
|
|
30377
|
+
type GPUVertexStepMode = "instance" | "vertex";
|
|
29142
30378
|
type GamepadHapticEffectType = "dual-rumble" | "trigger-rumble";
|
|
29143
30379
|
type GamepadHapticsResult = "complete" | "preempted";
|
|
29144
30380
|
type GamepadMappingType = "" | "standard" | "xr-standard";
|
|
@@ -29198,6 +30434,7 @@ type PushEncryptionKeyName = "auth" | "p256dh";
|
|
|
29198
30434
|
type RTCBundlePolicy = "balanced" | "max-bundle" | "max-compat";
|
|
29199
30435
|
type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
|
|
29200
30436
|
type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
|
|
30437
|
+
type RTCDtlsRole = "client" | "server" | "unknown";
|
|
29201
30438
|
type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
|
|
29202
30439
|
type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
|
|
29203
30440
|
type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
|
|
@@ -29207,11 +30444,13 @@ type RTCIceConnectionState = "checking" | "closed" | "completed" | "connected" |
|
|
|
29207
30444
|
type RTCIceGathererState = "complete" | "gathering" | "new";
|
|
29208
30445
|
type RTCIceGatheringState = "complete" | "gathering" | "new";
|
|
29209
30446
|
type RTCIceProtocol = "tcp" | "udp";
|
|
30447
|
+
type RTCIceRole = "controlled" | "controlling" | "unknown";
|
|
29210
30448
|
type RTCIceTcpCandidateType = "active" | "passive" | "so";
|
|
29211
30449
|
type RTCIceTransportPolicy = "all" | "relay";
|
|
29212
30450
|
type RTCIceTransportState = "checking" | "closed" | "completed" | "connected" | "disconnected" | "failed" | "new";
|
|
29213
30451
|
type RTCPeerConnectionState = "closed" | "connected" | "connecting" | "disconnected" | "failed" | "new";
|
|
29214
30452
|
type RTCPriorityType = "high" | "low" | "medium" | "very-low";
|
|
30453
|
+
type RTCQualityLimitationReason = "bandwidth" | "cpu" | "none" | "other";
|
|
29215
30454
|
type RTCRtcpMuxPolicy = "require";
|
|
29216
30455
|
type RTCRtpTransceiverDirection = "inactive" | "recvonly" | "sendonly" | "sendrecv" | "stopped";
|
|
29217
30456
|
type RTCSctpTransportState = "closed" | "connected" | "connecting";
|