@@ -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 ;
0 commit comments