@types/web 0.0.180 → 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 +1209 -5
- package/iterable.d.ts +36 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +1209 -5
- package/ts5.5/iterable.d.ts +36 -0
package/iterable.d.ts
CHANGED
|
@@ -111,6 +111,39 @@ interface FormData {
|
|
|
111
111
|
values(): FormDataIterator<FormDataEntryValue>;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
interface GPUBindingCommandsMixin {
|
|
115
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
116
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
interface GPUCommandEncoder {
|
|
120
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */
|
|
121
|
+
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
122
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */
|
|
123
|
+
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
124
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */
|
|
125
|
+
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
interface GPUQueue {
|
|
129
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */
|
|
130
|
+
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: Iterable<GPUIntegerCoordinate>): void;
|
|
131
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */
|
|
132
|
+
submit(commandBuffers: Iterable<GPUCommandBuffer>): void;
|
|
133
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */
|
|
134
|
+
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: Iterable<GPUIntegerCoordinate>): void;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
interface GPURenderPassEncoder {
|
|
138
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */
|
|
139
|
+
executeBundles(bundles: Iterable<GPURenderBundle>): void;
|
|
140
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */
|
|
141
|
+
setBlendConstant(color: Iterable<number>): void;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
interface GPUSupportedFeatures extends ReadonlySet<string> {
|
|
145
|
+
}
|
|
146
|
+
|
|
114
147
|
interface HTMLAllCollection {
|
|
115
148
|
[Symbol.iterator](): ArrayIterator<Element>;
|
|
116
149
|
}
|
|
@@ -368,6 +401,9 @@ interface WEBGL_multi_draw {
|
|
|
368
401
|
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
369
402
|
}
|
|
370
403
|
|
|
404
|
+
interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
405
|
+
}
|
|
406
|
+
|
|
371
407
|
interface WebGL2RenderingContextBase {
|
|
372
408
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
373
409
|
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|