@types/webworker 0.0.63 → 0.0.64
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 +259 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +238 -1
- package/ts5.5/iterable.d.ts +21 -0
- package/ts5.6/index.d.ts +238 -1
- package/ts5.6/iterable.d.ts +21 -0
- package/ts5.9/index.d.ts +238 -1
- package/ts5.9/iterable.d.ts +21 -0
package/ts5.9/iterable.d.ts
CHANGED
|
@@ -87,6 +87,27 @@ interface GPUBindingCommandsMixin {
|
|
|
87
87
|
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
interface GPUCommandEncoder {
|
|
91
|
+
/**
|
|
92
|
+
* The **`copyBufferToTexture()`** method of the GPUCommandEncoder interface encodes a command that copies data from a GPUBuffer to a GPUTexture.
|
|
93
|
+
*
|
|
94
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture)
|
|
95
|
+
*/
|
|
96
|
+
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
97
|
+
/**
|
|
98
|
+
* The **`copyTextureToBuffer()`** method of the GPUCommandEncoder interface encodes a command that copies data from a GPUTexture to a GPUBuffer.
|
|
99
|
+
*
|
|
100
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer)
|
|
101
|
+
*/
|
|
102
|
+
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
103
|
+
/**
|
|
104
|
+
* The **`copyTextureToTexture()`** method of the GPUCommandEncoder interface encodes a command that copies data from one GPUTexture to another.
|
|
105
|
+
*
|
|
106
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture)
|
|
107
|
+
*/
|
|
108
|
+
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
109
|
+
}
|
|
110
|
+
|
|
90
111
|
interface GPUQueue {
|
|
91
112
|
/**
|
|
92
113
|
* The **`copyExternalImageToTexture()`** method of the GPUQueue interface copies a snapshot taken from a source image, video, or canvas into a given GPUTexture.
|