@types/web 0.0.328 → 0.0.329

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/ts5.9/index.d.ts CHANGED
@@ -805,6 +805,20 @@ interface FullscreenOptions {
805
805
  navigationUI?: FullscreenNavigationUI;
806
806
  }
807
807
 
808
+ interface GPUCanvasConfiguration {
809
+ alphaMode?: GPUCanvasAlphaMode;
810
+ colorSpace?: PredefinedColorSpace;
811
+ device: GPUDevice;
812
+ format: GPUTextureFormat;
813
+ toneMapping?: GPUCanvasToneMapping;
814
+ usage?: GPUTextureUsageFlags;
815
+ viewFormats?: GPUTextureFormat[];
816
+ }
817
+
818
+ interface GPUCanvasToneMapping {
819
+ mode?: GPUCanvasToneMappingMode;
820
+ }
821
+
808
822
  interface GPUColorDict {
809
823
  a: number;
810
824
  b: number;
@@ -812,6 +826,19 @@ interface GPUColorDict {
812
826
  r: number;
813
827
  }
814
828
 
829
+ interface GPUCommandBufferDescriptor extends GPUObjectDescriptorBase {
830
+ }
831
+
832
+ interface GPUComputePassDescriptor extends GPUObjectDescriptorBase {
833
+ timestampWrites?: GPUComputePassTimestampWrites;
834
+ }
835
+
836
+ interface GPUComputePassTimestampWrites {
837
+ beginningOfPassWriteIndex?: GPUSize32;
838
+ endOfPassWriteIndex?: GPUSize32;
839
+ querySet: GPUQuerySet;
840
+ }
841
+
815
842
  interface GPUCopyExternalImageDestInfo extends GPUTexelCopyTextureInfo {
816
843
  colorSpace?: PredefinedColorSpace;
817
844
  premultipliedAlpha?: boolean;
@@ -851,6 +878,45 @@ interface GPUPipelineErrorInit {
851
878
  interface GPURenderBundleDescriptor extends GPUObjectDescriptorBase {
852
879
  }
853
880
 
881
+ interface GPURenderPassColorAttachment {
882
+ clearValue?: GPUColor;
883
+ depthSlice?: GPUIntegerCoordinate;
884
+ loadOp: GPULoadOp;
885
+ resolveTarget?: GPUTexture | GPUTextureView;
886
+ storeOp: GPUStoreOp;
887
+ view: GPUTexture | GPUTextureView;
888
+ }
889
+
890
+ interface GPURenderPassDepthStencilAttachment {
891
+ depthClearValue?: number;
892
+ depthLoadOp?: GPULoadOp;
893
+ depthReadOnly?: boolean;
894
+ depthStoreOp?: GPUStoreOp;
895
+ stencilClearValue?: GPUStencilValue;
896
+ stencilLoadOp?: GPULoadOp;
897
+ stencilReadOnly?: boolean;
898
+ stencilStoreOp?: GPUStoreOp;
899
+ view: GPUTexture | GPUTextureView;
900
+ }
901
+
902
+ interface GPURenderPassDescriptor extends GPUObjectDescriptorBase {
903
+ colorAttachments: (GPURenderPassColorAttachment | null)[];
904
+ depthStencilAttachment?: GPURenderPassDepthStencilAttachment;
905
+ maxDrawCount?: GPUSize64;
906
+ occlusionQuerySet?: GPUQuerySet;
907
+ timestampWrites?: GPURenderPassTimestampWrites;
908
+ }
909
+
910
+ interface GPURenderPassTimestampWrites {
911
+ beginningOfPassWriteIndex?: GPUSize32;
912
+ endOfPassWriteIndex?: GPUSize32;
913
+ querySet: GPUQuerySet;
914
+ }
915
+
916
+ interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
917
+ buffer: GPUBuffer;
918
+ }
919
+
854
920
  interface GPUTexelCopyBufferLayout {
855
921
  bytesPerRow?: GPUSize32;
856
922
  offset?: GPUSize64;
@@ -14951,6 +15017,50 @@ declare var GPUBuffer: {
14951
15017
  new(): GPUBuffer;
14952
15018
  };
14953
15019
 
15020
+ /**
15021
+ * The **`GPUCanvasContext`** interface of the WebGPU API represents the WebGPU rendering context of a <canvas> element, returned via an HTMLCanvasElement.getContext() call with a contextType of "webgpu".
15022
+ * Available only in secure contexts.
15023
+ *
15024
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext)
15025
+ */
15026
+ interface GPUCanvasContext {
15027
+ /**
15028
+ * The **`canvas`** read-only property of the GPUCanvasContext interface returns a reference to the canvas that the context was created from.
15029
+ *
15030
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/canvas)
15031
+ */
15032
+ readonly canvas: HTMLCanvasElement | OffscreenCanvas;
15033
+ /**
15034
+ * The **`configure()`** method of the GPUCanvasContext interface configures the context to use for rendering with a given GPUDevice. When called the canvas will initially be cleared to transparent black.
15035
+ *
15036
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/configure)
15037
+ */
15038
+ configure(configuration: GPUCanvasConfiguration): void;
15039
+ /**
15040
+ * The **`getConfiguration()`** method of the GPUCanvasContext interface returns the current configuration set for the context.
15041
+ *
15042
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/getConfiguration)
15043
+ */
15044
+ getConfiguration(): GPUCanvasConfiguration | null;
15045
+ /**
15046
+ * The **`getCurrentTexture()`** method of the GPUCanvasContext interface returns the next GPUTexture to be composited to the document by the canvas context.
15047
+ *
15048
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/getCurrentTexture)
15049
+ */
15050
+ getCurrentTexture(): GPUTexture;
15051
+ /**
15052
+ * The **`unconfigure()`** method of the GPUCanvasContext interface removes any previously-set context configuration, and destroys any textures returned via getCurrentTexture() while the canvas context was configured.
15053
+ *
15054
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCanvasContext/unconfigure)
15055
+ */
15056
+ unconfigure(): void;
15057
+ }
15058
+
15059
+ declare var GPUCanvasContext: {
15060
+ prototype: GPUCanvasContext;
15061
+ new(): GPUCanvasContext;
15062
+ };
15063
+
14954
15064
  /**
14955
15065
  * The **`GPUCommandBuffer`** interface of the WebGPU API represents a pre-recorded list of GPU commands that can be submitted to a GPUQueue for execution.
14956
15066
  * Available only in secure contexts.
@@ -14965,6 +15075,75 @@ declare var GPUCommandBuffer: {
14965
15075
  new(): GPUCommandBuffer;
14966
15076
  };
14967
15077
 
15078
+ /**
15079
+ * The **`GPUCommandEncoder`** interface of the WebGPU API represents an encoder that collects a sequence of GPU commands to be issued to the GPU.
15080
+ * Available only in secure contexts.
15081
+ *
15082
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder)
15083
+ */
15084
+ interface GPUCommandEncoder extends GPUDebugCommandsMixin, GPUObjectBase {
15085
+ /**
15086
+ * The **`beginComputePass()`** method of the GPUCommandEncoder interface starts encoding a compute pass, returning a GPUComputePassEncoder that can be used to control computation.
15087
+ *
15088
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginComputePass)
15089
+ */
15090
+ beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder;
15091
+ /**
15092
+ * The **`beginRenderPass()`** method of the GPUCommandEncoder interface starts encoding a render pass, returning a GPURenderPassEncoder that can be used to control rendering.
15093
+ *
15094
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/beginRenderPass)
15095
+ */
15096
+ beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder;
15097
+ /**
15098
+ * The **`clearBuffer()`** method of the GPUCommandEncoder interface encodes a command that fills a region of a GPUBuffer with zeroes.
15099
+ *
15100
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/clearBuffer)
15101
+ */
15102
+ clearBuffer(buffer: GPUBuffer, offset?: GPUSize64, size?: GPUSize64): void;
15103
+ /**
15104
+ * The **`copyBufferToBuffer()`** method of the GPUCommandEncoder interface encodes a command that copies data from one GPUBuffer to another.
15105
+ *
15106
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToBuffer)
15107
+ */
15108
+ copyBufferToBuffer(source: GPUBuffer, destination: GPUBuffer, size?: GPUSize64): void;
15109
+ copyBufferToBuffer(source: GPUBuffer, sourceOffset: GPUSize64, destination: GPUBuffer, destinationOffset: GPUSize64, size?: GPUSize64): void;
15110
+ /**
15111
+ * The **`copyBufferToTexture()`** method of the GPUCommandEncoder interface encodes a command that copies data from a GPUBuffer to a GPUTexture.
15112
+ *
15113
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture)
15114
+ */
15115
+ copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
15116
+ /**
15117
+ * The **`copyTextureToBuffer()`** method of the GPUCommandEncoder interface encodes a command that copies data from a GPUTexture to a GPUBuffer.
15118
+ *
15119
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer)
15120
+ */
15121
+ copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: GPUExtent3D): void;
15122
+ /**
15123
+ * The **`copyTextureToTexture()`** method of the GPUCommandEncoder interface encodes a command that copies data from one GPUTexture to another.
15124
+ *
15125
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture)
15126
+ */
15127
+ copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: GPUExtent3D): void;
15128
+ /**
15129
+ * The **`finish()`** method of the GPUCommandEncoder interface completes recording of the command sequence encoded on this GPUCommandEncoder, returning a corresponding GPUCommandBuffer.
15130
+ *
15131
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/finish)
15132
+ */
15133
+ finish(descriptor?: GPUCommandBufferDescriptor): GPUCommandBuffer;
15134
+ /**
15135
+ * The **`resolveQuerySet()`** method of the GPUCommandEncoder interface encodes a command that resolves a GPUQuerySet, copying the results into a specified GPUBuffer.
15136
+ *
15137
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/resolveQuerySet)
15138
+ */
15139
+ resolveQuerySet(querySet: GPUQuerySet, firstQuery: GPUSize32, queryCount: GPUSize32, destination: GPUBuffer, destinationOffset: GPUSize64): void;
15140
+ }
15141
+
15142
+ declare var GPUCommandEncoder: {
15143
+ prototype: GPUCommandEncoder;
15144
+ new(): GPUCommandEncoder;
15145
+ };
15146
+
14968
15147
  /**
14969
15148
  * The **`GPUCompilationInfo`** interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code.
14970
15149
  * Available only in secure contexts.
@@ -15096,6 +15275,60 @@ interface GPUDebugCommandsMixin {
15096
15275
  pushDebugGroup(groupLabel: string): void;
15097
15276
  }
15098
15277
 
15278
+ interface GPUDeviceEventMap {
15279
+ "uncapturederror": GPUUncapturedErrorEvent;
15280
+ }
15281
+
15282
+ /**
15283
+ * The **`GPUDevice`** interface of the WebGPU API represents a logical GPU device. This is the main interface through which the majority of WebGPU functionality is accessed.
15284
+ * Available only in secure contexts.
15285
+ *
15286
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice)
15287
+ */
15288
+ interface GPUDevice extends EventTarget, GPUObjectBase {
15289
+ /**
15290
+ * The **`adapterInfo`** read-only property of the GPUDevice interface returns a GPUAdapterInfo object containing identifying information about the device's originating adapter.
15291
+ *
15292
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/adapterInfo)
15293
+ */
15294
+ readonly adapterInfo: GPUAdapterInfo;
15295
+ /**
15296
+ * The **`features`** read-only property of the GPUDevice interface returns a GPUSupportedFeatures object that describes additional functionality supported by the device. Only features requested during the creation of the device (i.e., when GPUAdapter.requestDevice() is called) are included.
15297
+ *
15298
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/features)
15299
+ */
15300
+ readonly features: GPUSupportedFeatures;
15301
+ /**
15302
+ * The **`limits`** read-only property of the GPUDevice interface returns a GPUSupportedLimits object that describes the limits supported by the device. All limit values will be included, and the limits requested during the creation of the device (i.e., when GPUAdapter.requestDevice() is called) will be reflected in those values.
15303
+ *
15304
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/limits)
15305
+ */
15306
+ readonly limits: GPUSupportedLimits;
15307
+ /**
15308
+ * The **`lost`** read-only property of the GPUDevice interface contains a Promise that remains pending throughout the device's lifetime and resolves with a GPUDeviceLostInfo object when the device is lost.
15309
+ *
15310
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/lost)
15311
+ */
15312
+ readonly lost: Promise<GPUDeviceLostInfo>;
15313
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/uncapturederror_event) */
15314
+ onuncapturederror: ((this: GPUDevice, ev: GPUUncapturedErrorEvent) => any) | null;
15315
+ /**
15316
+ * The **`queue`** read-only property of the GPUDevice interface returns the primary GPUQueue for the device.
15317
+ *
15318
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/queue)
15319
+ */
15320
+ readonly queue: GPUQueue;
15321
+ addEventListener<K extends keyof GPUDeviceEventMap>(type: K, listener: (this: GPUDevice, ev: GPUDeviceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
15322
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
15323
+ removeEventListener<K extends keyof GPUDeviceEventMap>(type: K, listener: (this: GPUDevice, ev: GPUDeviceEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
15324
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
15325
+ }
15326
+
15327
+ declare var GPUDevice: {
15328
+ prototype: GPUDevice;
15329
+ new(): GPUDevice;
15330
+ };
15331
+
15099
15332
  /**
15100
15333
  * The **`GPUDeviceLostInfo`** interface of the WebGPU API represents the object returned when the GPUDevice.lost Promise resolves. This provides information as to why a device has been lost.
15101
15334
  * Available only in secure contexts.
@@ -43527,7 +43760,7 @@ type MediaProvider = MediaStream | MediaSource | Blob;
43527
43760
  type MessageEventSource = WindowProxy | MessagePort | ServiceWorker;
43528
43761
  type MutationRecordType = "attributes" | "characterData" | "childList";
43529
43762
  type NamedCurve = string;
43530
- type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
43763
+ type OffscreenRenderingContext = OffscreenCanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
43531
43764
  type OnBeforeUnloadEventHandler = OnBeforeUnloadEventHandlerNonNull | null;
43532
43765
  type OnErrorEventHandler = OnErrorEventHandlerNonNull | null;
43533
43766
  type OptionalPostfixToken<T extends string> = ` ${T}` | "";
@@ -43539,7 +43772,7 @@ type RTCRtpSenderTransform = RTCRtpScriptTransform;
43539
43772
  type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
43540
43773
  type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
43541
43774
  type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
43542
- type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext;
43775
+ type RenderingContext = CanvasRenderingContext2D | ImageBitmapRenderingContext | WebGLRenderingContext | WebGL2RenderingContext | GPUCanvasContext;
43543
43776
  type ReportList = Report[];
43544
43777
  type RequestInfo = Request | string;
43545
43778
  type SanitizerAttribute = string | SanitizerAttributeNamespace;
@@ -43620,11 +43853,15 @@ type FontFaceLoadStatus = "error" | "loaded" | "loading" | "unloaded";
43620
43853
  type FontFaceSetLoadStatus = "loaded" | "loading";
43621
43854
  type FullscreenNavigationUI = "auto" | "hide" | "show";
43622
43855
  type GPUBufferMapState = "mapped" | "pending" | "unmapped";
43856
+ type GPUCanvasAlphaMode = "opaque" | "premultiplied";
43857
+ type GPUCanvasToneMappingMode = "extended" | "standard";
43623
43858
  type GPUCompilationMessageType = "error" | "info" | "warning";
43624
43859
  type GPUDeviceLostReason = "destroyed" | "unknown";
43625
43860
  type GPUIndexFormat = "uint16" | "uint32";
43861
+ type GPULoadOp = "clear" | "load";
43626
43862
  type GPUPipelineErrorReason = "internal" | "validation";
43627
43863
  type GPUQueryType = "occlusion" | "timestamp";
43864
+ type GPUStoreOp = "discard" | "store";
43628
43865
  type GPUTextureAspect = "all" | "depth-only" | "stencil-only";
43629
43866
  type GPUTextureDimension = "1d" | "2d" | "3d";
43630
43867
  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" | "r16snorm" | "r16uint" | "r16unorm" | "r32float" | "r32sint" | "r32uint" | "r8sint" | "r8snorm" | "r8uint" | "r8unorm" | "rg11b10ufloat" | "rg16float" | "rg16sint" | "rg16snorm" | "rg16uint" | "rg16unorm" | "rg32float" | "rg32sint" | "rg32uint" | "rg8sint" | "rg8snorm" | "rg8uint" | "rg8unorm" | "rgb10a2uint" | "rgb10a2unorm" | "rgb9e5ufloat" | "rgba16float" | "rgba16sint" | "rgba16snorm" | "rgba16uint" | "rgba16unorm" | "rgba32float" | "rgba32sint" | "rgba32uint" | "rgba8sint" | "rgba8snorm" | "rgba8uint" | "rgba8unorm" | "rgba8unorm-srgb" | "stencil8";
@@ -147,6 +147,27 @@ interface GPUBindingCommandsMixin {
147
147
  setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
148
148
  }
149
149
 
150
+ interface GPUCommandEncoder {
151
+ /**
152
+ * The **`copyBufferToTexture()`** method of the GPUCommandEncoder interface encodes a command that copies data from a GPUBuffer to a GPUTexture.
153
+ *
154
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture)
155
+ */
156
+ copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
157
+ /**
158
+ * The **`copyTextureToBuffer()`** method of the GPUCommandEncoder interface encodes a command that copies data from a GPUTexture to a GPUBuffer.
159
+ *
160
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer)
161
+ */
162
+ copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
163
+ /**
164
+ * The **`copyTextureToTexture()`** method of the GPUCommandEncoder interface encodes a command that copies data from one GPUTexture to another.
165
+ *
166
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture)
167
+ */
168
+ copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
169
+ }
170
+
150
171
  interface GPUQueue {
151
172
  /**
152
173
  * The **`copyExternalImageToTexture()`** method of the GPUQueue interface copies a snapshot taken from a source image, video, or canvas into a given GPUTexture.