@types/web
Advanced tools
Comparing version 0.0.180 to 0.0.181
@@ -114,2 +114,35 @@ ///////////////////////////// | ||
interface GPUBindingCommandsMixin { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */ | ||
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void; | ||
} | ||
interface GPUCommandEncoder { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */ | ||
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */ | ||
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */ | ||
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
} | ||
interface GPUQueue { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */ | ||
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */ | ||
submit(commandBuffers: Iterable<GPUCommandBuffer>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */ | ||
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: Iterable<GPUIntegerCoordinate>): void; | ||
} | ||
interface GPURenderPassEncoder { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */ | ||
executeBundles(bundles: Iterable<GPURenderBundle>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */ | ||
setBlendConstant(color: Iterable<number>): void; | ||
} | ||
interface GPUSupportedFeatures extends ReadonlySet<string> { | ||
} | ||
interface HTMLAllCollection { | ||
@@ -372,2 +405,5 @@ [Symbol.iterator](): ArrayIterator<Element>; | ||
interface WGSLLanguageFeatures extends ReadonlySet<string> { | ||
} | ||
interface WebGL2RenderingContextBase { | ||
@@ -374,0 +410,0 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */ |
{ | ||
"name": "@types/web", | ||
"version": "0.0.180", | ||
"version": "0.0.181", | ||
"description": "Types for the DOM, and other web technologies in browsers", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -50,2 +50,2 @@ ### `@types/web` - Types for the DOM and most web-related APIs | ||
You can read what changed in version 0.0.180 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.180. | ||
You can read what changed in version 0.0.181 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.181. |
@@ -110,2 +110,35 @@ ///////////////////////////// | ||
interface GPUBindingCommandsMixin { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */ | ||
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void; | ||
} | ||
interface GPUCommandEncoder { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyBufferToTexture) */ | ||
copyBufferToTexture(source: GPUTexelCopyBufferInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToBuffer) */ | ||
copyTextureToBuffer(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyBufferInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUCommandEncoder/copyTextureToTexture) */ | ||
copyTextureToTexture(source: GPUTexelCopyTextureInfo, destination: GPUTexelCopyTextureInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
} | ||
interface GPUQueue { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/copyExternalImageToTexture) */ | ||
copyExternalImageToTexture(source: GPUCopyExternalImageSourceInfo, destination: GPUCopyExternalImageDestInfo, copySize: Iterable<GPUIntegerCoordinate>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/submit) */ | ||
submit(commandBuffers: Iterable<GPUCommandBuffer>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUQueue/writeTexture) */ | ||
writeTexture(destination: GPUTexelCopyTextureInfo, data: AllowSharedBufferSource, dataLayout: GPUTexelCopyBufferLayout, size: Iterable<GPUIntegerCoordinate>): void; | ||
} | ||
interface GPURenderPassEncoder { | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles) */ | ||
executeBundles(bundles: Iterable<GPURenderBundle>): void; | ||
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant) */ | ||
setBlendConstant(color: Iterable<number>): void; | ||
} | ||
interface GPUSupportedFeatures extends ReadonlySet<string> { | ||
} | ||
interface HTMLAllCollection { | ||
@@ -352,2 +385,5 @@ [Symbol.iterator](): IterableIterator<Element>; | ||
interface WGSLLanguageFeatures extends ReadonlySet<string> { | ||
} | ||
interface WebGL2RenderingContextBase { | ||
@@ -354,0 +390,0 @@ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2885535
57865