@@ -111,6 +111,39 @@ interface FormData {
111111 values ( ) : FormDataIterator < FormDataEntryValue > ;
112112}
113113
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+
114147interface HTMLAllCollection {
115148 [ Symbol . iterator ] ( ) : ArrayIterator < Element > ;
116149}
@@ -368,6 +401,9 @@ interface WEBGL_multi_draw {
368401 multiDrawElementsWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLsizei > , countsOffset : number , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : number , drawcount : GLsizei ) : void ;
369402}
370403
404+ interface WGSLLanguageFeatures extends ReadonlySet < string > {
405+ }
406+
371407interface WebGL2RenderingContextBase {
372408 /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
373409 clearBufferfv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLfloat > , srcOffset ?: number ) : void ;
0 commit comments