@types/web 0.0.333 → 0.0.334
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
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.334 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.334.
|
package/index.d.ts
CHANGED
|
@@ -993,6 +993,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
993
993
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
994
994
|
}
|
|
995
995
|
|
|
996
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
997
|
+
code: string;
|
|
998
|
+
}
|
|
999
|
+
|
|
996
1000
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
997
1001
|
buffer: GPUBuffer;
|
|
998
1002
|
}
|
|
@@ -1010,6 +1014,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
1010
1014
|
texture: GPUTexture;
|
|
1011
1015
|
}
|
|
1012
1016
|
|
|
1017
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
1018
|
+
dimension?: GPUTextureDimension;
|
|
1019
|
+
format: GPUTextureFormat;
|
|
1020
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
1021
|
+
sampleCount?: GPUSize32;
|
|
1022
|
+
size: GPUExtent3D;
|
|
1023
|
+
usage: GPUTextureUsageFlags;
|
|
1024
|
+
viewFormats?: GPUTextureFormat[];
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1013
1027
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
1014
1028
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
1015
1029
|
aspect?: GPUTextureAspect;
|
|
@@ -15452,6 +15466,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
15452
15466
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
15453
15467
|
*/
|
|
15454
15468
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
15469
|
+
/**
|
|
15470
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
15471
|
+
*
|
|
15472
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
15473
|
+
*/
|
|
15474
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
15475
|
+
/**
|
|
15476
|
+
* 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.
|
|
15477
|
+
*
|
|
15478
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
15479
|
+
*/
|
|
15480
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
15455
15481
|
/**
|
|
15456
15482
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
15457
15483
|
*
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -990,6 +990,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
990
990
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
994
|
+
code: string;
|
|
995
|
+
}
|
|
996
|
+
|
|
993
997
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
994
998
|
buffer: GPUBuffer;
|
|
995
999
|
}
|
|
@@ -1007,6 +1011,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
1007
1011
|
texture: GPUTexture;
|
|
1008
1012
|
}
|
|
1009
1013
|
|
|
1014
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
1015
|
+
dimension?: GPUTextureDimension;
|
|
1016
|
+
format: GPUTextureFormat;
|
|
1017
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
1018
|
+
sampleCount?: GPUSize32;
|
|
1019
|
+
size: GPUExtent3D;
|
|
1020
|
+
usage: GPUTextureUsageFlags;
|
|
1021
|
+
viewFormats?: GPUTextureFormat[];
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1010
1024
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
1011
1025
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
1012
1026
|
aspect?: GPUTextureAspect;
|
|
@@ -15438,6 +15452,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
15438
15452
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
15439
15453
|
*/
|
|
15440
15454
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
15455
|
+
/**
|
|
15456
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
15457
|
+
*
|
|
15458
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
15459
|
+
*/
|
|
15460
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
15461
|
+
/**
|
|
15462
|
+
* 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.
|
|
15463
|
+
*
|
|
15464
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
15465
|
+
*/
|
|
15466
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
15441
15467
|
/**
|
|
15442
15468
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
15443
15469
|
*
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -990,6 +990,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
990
990
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
994
|
+
code: string;
|
|
995
|
+
}
|
|
996
|
+
|
|
993
997
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
994
998
|
buffer: GPUBuffer;
|
|
995
999
|
}
|
|
@@ -1007,6 +1011,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
1007
1011
|
texture: GPUTexture;
|
|
1008
1012
|
}
|
|
1009
1013
|
|
|
1014
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
1015
|
+
dimension?: GPUTextureDimension;
|
|
1016
|
+
format: GPUTextureFormat;
|
|
1017
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
1018
|
+
sampleCount?: GPUSize32;
|
|
1019
|
+
size: GPUExtent3D;
|
|
1020
|
+
usage: GPUTextureUsageFlags;
|
|
1021
|
+
viewFormats?: GPUTextureFormat[];
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1010
1024
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
1011
1025
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
1012
1026
|
aspect?: GPUTextureAspect;
|
|
@@ -15449,6 +15463,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
15449
15463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
15450
15464
|
*/
|
|
15451
15465
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
15466
|
+
/**
|
|
15467
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
15468
|
+
*
|
|
15469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
15470
|
+
*/
|
|
15471
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
15472
|
+
/**
|
|
15473
|
+
* 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.
|
|
15474
|
+
*
|
|
15475
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
15476
|
+
*/
|
|
15477
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
15452
15478
|
/**
|
|
15453
15479
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
15454
15480
|
*
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -990,6 +990,10 @@ interface GPUSamplerDescriptor extends GPUObjectDescriptorBase {
|
|
|
990
990
|
mipmapFilter?: GPUMipmapFilterMode;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
+
interface GPUShaderModuleDescriptor extends GPUObjectDescriptorBase {
|
|
994
|
+
code: string;
|
|
995
|
+
}
|
|
996
|
+
|
|
993
997
|
interface GPUTexelCopyBufferInfo extends GPUTexelCopyBufferLayout {
|
|
994
998
|
buffer: GPUBuffer;
|
|
995
999
|
}
|
|
@@ -1007,6 +1011,16 @@ interface GPUTexelCopyTextureInfo {
|
|
|
1007
1011
|
texture: GPUTexture;
|
|
1008
1012
|
}
|
|
1009
1013
|
|
|
1014
|
+
interface GPUTextureDescriptor extends GPUObjectDescriptorBase {
|
|
1015
|
+
dimension?: GPUTextureDimension;
|
|
1016
|
+
format: GPUTextureFormat;
|
|
1017
|
+
mipLevelCount?: GPUIntegerCoordinate;
|
|
1018
|
+
sampleCount?: GPUSize32;
|
|
1019
|
+
size: GPUExtent3D;
|
|
1020
|
+
usage: GPUTextureUsageFlags;
|
|
1021
|
+
viewFormats?: GPUTextureFormat[];
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1010
1024
|
interface GPUTextureViewDescriptor extends GPUObjectDescriptorBase {
|
|
1011
1025
|
arrayLayerCount?: GPUIntegerCoordinate;
|
|
1012
1026
|
aspect?: GPUTextureAspect;
|
|
@@ -15449,6 +15463,18 @@ interface GPUDevice extends EventTarget, GPUObjectBase {
|
|
|
15449
15463
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createSampler)
|
|
15450
15464
|
*/
|
|
15451
15465
|
createSampler(descriptor?: GPUSamplerDescriptor): GPUSampler;
|
|
15466
|
+
/**
|
|
15467
|
+
* The **`createShaderModule()`** method of the GPUDevice interface creates a GPUShaderModule from a string of WGSL source code.
|
|
15468
|
+
*
|
|
15469
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createShaderModule)
|
|
15470
|
+
*/
|
|
15471
|
+
createShaderModule(descriptor: GPUShaderModuleDescriptor): GPUShaderModule;
|
|
15472
|
+
/**
|
|
15473
|
+
* 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.
|
|
15474
|
+
*
|
|
15475
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDevice/createTexture)
|
|
15476
|
+
*/
|
|
15477
|
+
createTexture(descriptor: GPUTextureDescriptor): GPUTexture;
|
|
15452
15478
|
/**
|
|
15453
15479
|
* The **`destroy()`** method of the GPUDevice interface destroys the device, preventing further operations on it.
|
|
15454
15480
|
*
|