@types/web 0.0.180 → 0.0.182
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 +1230 -8
- package/iterable.d.ts +36 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +1230 -8
- package/ts5.5/iterable.d.ts +36 -0
package/ts5.5/iterable.d.ts
CHANGED
|
@@ -107,6 +107,39 @@ interface FormData {
|
|
|
107
107
|
values(): IterableIterator<FormDataEntryValue>;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
interface GPUBindingCommandsMixin {
|
|
111
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
112
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
interface GPUCommandEncoder {
|
|
116
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
|
|
117
|
+
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
118
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
|
|
119
|
+
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
120
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
|
|
121
|
+
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
interface GPUQueue {
|
|
125
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
|
|
126
|
+
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
127
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
|
|
128
|
+
submit(commandBuffers: Iterable<GPUCommandBuffer>): void;
|
|
129
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
|
|
130
|
+
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: Iterable<GPUIntegerCoordinate>): void;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
interface GPURenderPassEncoder {
|
|
134
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
|
|
135
|
+
executeBundles(bundles: Iterable<GPURenderBundle>): void;
|
|
136
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
|
|
137
|
+
setBlendConstant(color: Iterable<number>): void;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
interface GPUSupportedFeatures extends ReadonlySet<string> {
|
|
141
|
+
}
|
|
142
|
+
|
|
110
143
|
interface HTMLAllCollection {
|
|
111
144
|
[Symbol.iterator](): IterableIterator<Element>;
|
|
112
145
|
}
|
|
@@ -348,6 +381,9 @@ interface WEBGL_multi_draw {
|
|
|
348
381
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
349
382
|
}
|
|
350
383
|
|
|
384
|
+
interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
385
|
+
}
|
|
386
|
+
|
|
351
387
|
interface WebGL2RenderingContextBase {
|
|
352
388
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
353
389
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|