@types/sharedworker 0.0.217 → 0.0.218
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 +26 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +26 -0
- package/ts5.6/index.d.ts +26 -0
- package/ts5.9/index.d.ts +26 -0
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
28
28
|
|
|
29
29
|
## Deploy Metadata
|
|
30
30
|
|
|
31
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.218 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.218.
|
package/index.d.ts
CHANGED
|
@@ -403,6 +403,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
403
403
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
407
|
+
code: string;
|
|
408
|
+
}
|
|
409
|
+
|
|
406
410
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
407
411
|
buffer: GPUBuffer;
|
|
408
412
|
}
|
|
@@ -420,6 +424,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
420
424
|
texture: GPUTexture;
|
|
421
425
|
}
|
|
422
426
|
|
|
427
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
428
|
+
dimension?: GPUTextureDimension;
|
|
429
|
+
format: GPUTextureFormat;
|
|
430
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
431
|
+
sampleCount?: GPUSize32;
|
|
432
|
+
size: GPUExtent3D;
|
|
433
|
+
usage: GPUTextureUsageFlags;
|
|
434
|
+
viewFormats?: GPUTextureFormat[];
|
|
435
|
+
}
|
|
436
|
+
|
|
423
437
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
424
438
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
425
439
|
aspect?: GPUTextureAspect;
|
|
@@ -4577,6 +4591,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
4577
4591
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
4578
4592
|
*/
|
|
4579
4593
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
4594
|
+
/**
|
|
4595
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
4596
|
+
*
|
|
4597
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
4598
|
+
*/
|
|
4599
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
4600
|
+
/**
|
|
4601
|
+
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
|
|
4602
|
+
*
|
|
4603
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
4604
|
+
*/
|
|
4605
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
4580
4606
|
/**
|
|
4581
4607
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
4582
4608
|
*
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -400,6 +400,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
400
400
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
404
|
+
code: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
403
407
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
404
408
|
buffer: GPUBuffer;
|
|
405
409
|
}
|
|
@@ -417,6 +421,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
417
421
|
texture: GPUTexture;
|
|
418
422
|
}
|
|
419
423
|
|
|
424
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
425
|
+
dimension?: GPUTextureDimension;
|
|
426
|
+
format: GPUTextureFormat;
|
|
427
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
428
|
+
sampleCount?: GPUSize32;
|
|
429
|
+
size: GPUExtent3D;
|
|
430
|
+
usage: GPUTextureUsageFlags;
|
|
431
|
+
viewFormats?: GPUTextureFormat[];
|
|
432
|
+
}
|
|
433
|
+
|
|
420
434
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
421
435
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
422
436
|
aspect?: GPUTextureAspect;
|
|
@@ -4574,6 +4588,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
4574
4588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
4575
4589
|
*/
|
|
4576
4590
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
4591
|
+
/**
|
|
4592
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
4593
|
+
*
|
|
4594
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
4595
|
+
*/
|
|
4596
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
4597
|
+
/**
|
|
4598
|
+
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
|
|
4599
|
+
*
|
|
4600
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
4601
|
+
*/
|
|
4602
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
4577
4603
|
/**
|
|
4578
4604
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
4579
4605
|
*
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -400,6 +400,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
400
400
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
404
|
+
code: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
403
407
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
404
408
|
buffer: GPUBuffer;
|
|
405
409
|
}
|
|
@@ -417,6 +421,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
417
421
|
texture: GPUTexture;
|
|
418
422
|
}
|
|
419
423
|
|
|
424
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
425
|
+
dimension?: GPUTextureDimension;
|
|
426
|
+
format: GPUTextureFormat;
|
|
427
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
428
|
+
sampleCount?: GPUSize32;
|
|
429
|
+
size: GPUExtent3D;
|
|
430
|
+
usage: GPUTextureUsageFlags;
|
|
431
|
+
viewFormats?: GPUTextureFormat[];
|
|
432
|
+
}
|
|
433
|
+
|
|
420
434
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
421
435
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
422
436
|
aspect?: GPUTextureAspect;
|
|
@@ -4574,6 +4588,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
4574
4588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
4575
4589
|
*/
|
|
4576
4590
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
4591
|
+
/**
|
|
4592
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
4593
|
+
*
|
|
4594
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
4595
|
+
*/
|
|
4596
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
4597
|
+
/**
|
|
4598
|
+
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
|
|
4599
|
+
*
|
|
4600
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
4601
|
+
*/
|
|
4602
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
4577
4603
|
/**
|
|
4578
4604
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
4579
4605
|
*
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -400,6 +400,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
400
400
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
404
|
+
code: string;
|
|
405
|
+
}
|
|
406
|
+
|
|
403
407
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
404
408
|
buffer: GPUBuffer;
|
|
405
409
|
}
|
|
@@ -417,6 +421,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
417
421
|
texture: GPUTexture;
|
|
418
422
|
}
|
|
419
423
|
|
|
424
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
425
|
+
dimension?: GPUTextureDimension;
|
|
426
|
+
format: GPUTextureFormat;
|
|
427
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
428
|
+
sampleCount?: GPUSize32;
|
|
429
|
+
size: GPUExtent3D;
|
|
430
|
+
usage: GPUTextureUsageFlags;
|
|
431
|
+
viewFormats?: GPUTextureFormat[];
|
|
432
|
+
}
|
|
433
|
+
|
|
420
434
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
421
435
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
422
436
|
aspect?: GPUTextureAspect;
|
|
@@ -4574,6 +4588,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
4574
4588
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
4575
4589
|
*/
|
|
4576
4590
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
4591
|
+
/**
|
|
4592
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
4593
|
+
*
|
|
4594
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
4595
|
+
*/
|
|
4596
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
4597
|
+
/**
|
|
4598
|
+
* The **`createTexture()`** method of the GPUDevice interface creates a GPUTexture in which to store 1D, 2D, or 3D arrays of data, such as images, to use in GPU rendering operations.
|
|
4599
|
+
*
|
|
4600
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
4601
|
+
*/
|
|
4602
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
4577
4603
|
/**
|
|
4578
4604
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
4579
4605
|
*
|