@types/web 0.0.350 → 0.0.352
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 +62 -0
- package/package.json +1 -1
- package/ts5.5/index.d.ts +62 -0
- package/ts5.6/index.d.ts +62 -0
- package/ts5.9/index.d.ts +62 -0
package/README.md
CHANGED
|
@@ -49,4 +49,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
49
49
|
|
|
50
50
|
## Deploy Metadata
|
|
51
51
|
|
|
52
|
-
You can read what changed in version 0.0.
|
|
52
|
+
You can read what changed in version 0.0.352 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.352.
|
package/index.d.ts
CHANGED
|
@@ -1751,6 +1751,11 @@ interface NavigationUpdateCurrentEntryOptions {
|
|
|
1751
1751
|
state: any;
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
+
interface NotificationAction {
|
|
1755
|
+
action: string;
|
|
1756
|
+
title: string;
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1754
1759
|
interface NotificationOptions {
|
|
1755
1760
|
badge?: string;
|
|
1756
1761
|
body?: string;
|
|
@@ -26718,6 +26723,12 @@ interface NotificationEventMap {
|
|
|
26718
26723
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
26719
26724
|
*/
|
|
26720
26725
|
interface Notification extends EventTarget {
|
|
26726
|
+
/**
|
|
26727
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
26728
|
+
*
|
|
26729
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
26730
|
+
*/
|
|
26731
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
26721
26732
|
/**
|
|
26722
26733
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
26723
26734
|
*
|
|
@@ -26795,6 +26806,12 @@ interface Notification extends EventTarget {
|
|
|
26795
26806
|
declare var Notification: {
|
|
26796
26807
|
prototype: Notification;
|
|
26797
26808
|
new(title: string, options?: NotificationOptions): Notification;
|
|
26809
|
+
/**
|
|
26810
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
26811
|
+
*
|
|
26812
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
26813
|
+
*/
|
|
26814
|
+
readonly maxActions: number;
|
|
26798
26815
|
/**
|
|
26799
26816
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
26800
26817
|
*
|
|
@@ -29992,9 +30009,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
|
|
|
29992
30009
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
|
|
29993
30010
|
*/
|
|
29994
30011
|
readonly address: string | null;
|
|
30012
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
|
|
29995
30013
|
readonly errorCode: number;
|
|
30014
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
|
|
29996
30015
|
readonly errorText: string;
|
|
30016
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
|
|
29997
30017
|
readonly port: number | null;
|
|
30018
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
|
|
29998
30019
|
readonly url: string;
|
|
29999
30020
|
}
|
|
30000
30021
|
|
|
@@ -43039,6 +43060,47 @@ declare namespace CSS {
|
|
|
43039
43060
|
function vw(value: number): CSSUnitValue;
|
|
43040
43061
|
}
|
|
43041
43062
|
|
|
43063
|
+
declare namespace GPUBufferUsage {
|
|
43064
|
+
const MAP_READ: 0x0001;
|
|
43065
|
+
const MAP_WRITE: 0x0002;
|
|
43066
|
+
const COPY_SRC: 0x0004;
|
|
43067
|
+
const COPY_DST: 0x0008;
|
|
43068
|
+
const INDEX: 0x0010;
|
|
43069
|
+
const VERTEX: 0x0020;
|
|
43070
|
+
const UNIFORM: 0x0040;
|
|
43071
|
+
const STORAGE: 0x0080;
|
|
43072
|
+
const INDIRECT: 0x0100;
|
|
43073
|
+
const QUERY_RESOLVE: 0x0200;
|
|
43074
|
+
}
|
|
43075
|
+
|
|
43076
|
+
declare namespace GPUColorWrite {
|
|
43077
|
+
const RED: 0x1;
|
|
43078
|
+
const GREEN: 0x2;
|
|
43079
|
+
const BLUE: 0x4;
|
|
43080
|
+
const ALPHA: 0x8;
|
|
43081
|
+
const ALL: 0xF;
|
|
43082
|
+
}
|
|
43083
|
+
|
|
43084
|
+
declare namespace GPUMapMode {
|
|
43085
|
+
const READ: 0x0001;
|
|
43086
|
+
const WRITE: 0x0002;
|
|
43087
|
+
}
|
|
43088
|
+
|
|
43089
|
+
declare namespace GPUShaderStage {
|
|
43090
|
+
const VERTEX: 0x1;
|
|
43091
|
+
const FRAGMENT: 0x2;
|
|
43092
|
+
const COMPUTE: 0x4;
|
|
43093
|
+
}
|
|
43094
|
+
|
|
43095
|
+
declare namespace GPUTextureUsage {
|
|
43096
|
+
const COPY_SRC: 0x01;
|
|
43097
|
+
const COPY_DST: 0x02;
|
|
43098
|
+
const TEXTURE_BINDING: 0x04;
|
|
43099
|
+
const STORAGE_BINDING: 0x08;
|
|
43100
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
43101
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
43102
|
+
}
|
|
43103
|
+
|
|
43042
43104
|
declare namespace WebAssembly {
|
|
43043
43105
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
43044
43106
|
interface CompileError extends Error {
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -1748,6 +1748,11 @@ interface NavigationUpdateCurrentEntryOptions {
|
|
|
1748
1748
|
state: any;
|
|
1749
1749
|
}
|
|
1750
1750
|
|
|
1751
|
+
interface NotificationAction {
|
|
1752
|
+
action: string;
|
|
1753
|
+
title: string;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1751
1756
|
interface NotificationOptions {
|
|
1752
1757
|
badge?: string;
|
|
1753
1758
|
body?: string;
|
|
@@ -26694,6 +26699,12 @@ interface NotificationEventMap {
|
|
|
26694
26699
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
26695
26700
|
*/
|
|
26696
26701
|
interface Notification extends EventTarget {
|
|
26702
|
+
/**
|
|
26703
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
26704
|
+
*
|
|
26705
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
26706
|
+
*/
|
|
26707
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
26697
26708
|
/**
|
|
26698
26709
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
26699
26710
|
*
|
|
@@ -26771,6 +26782,12 @@ interface Notification extends EventTarget {
|
|
|
26771
26782
|
declare var Notification: {
|
|
26772
26783
|
prototype: Notification;
|
|
26773
26784
|
new(title: string, options?: NotificationOptions): Notification;
|
|
26785
|
+
/**
|
|
26786
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
26787
|
+
*
|
|
26788
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
26789
|
+
*/
|
|
26790
|
+
readonly maxActions: number;
|
|
26774
26791
|
/**
|
|
26775
26792
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
26776
26793
|
*
|
|
@@ -29968,9 +29985,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
|
|
|
29968
29985
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
|
|
29969
29986
|
*/
|
|
29970
29987
|
readonly address: string | null;
|
|
29988
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
|
|
29971
29989
|
readonly errorCode: number;
|
|
29990
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
|
|
29972
29991
|
readonly errorText: string;
|
|
29992
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
|
|
29973
29993
|
readonly port: number | null;
|
|
29994
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
|
|
29974
29995
|
readonly url: string;
|
|
29975
29996
|
}
|
|
29976
29997
|
|
|
@@ -43013,6 +43034,47 @@ declare namespace CSS {
|
|
|
43013
43034
|
function vw(value: number): CSSUnitValue;
|
|
43014
43035
|
}
|
|
43015
43036
|
|
|
43037
|
+
declare namespace GPUBufferUsage {
|
|
43038
|
+
const MAP_READ: 0x0001;
|
|
43039
|
+
const MAP_WRITE: 0x0002;
|
|
43040
|
+
const COPY_SRC: 0x0004;
|
|
43041
|
+
const COPY_DST: 0x0008;
|
|
43042
|
+
const INDEX: 0x0010;
|
|
43043
|
+
const VERTEX: 0x0020;
|
|
43044
|
+
const UNIFORM: 0x0040;
|
|
43045
|
+
const STORAGE: 0x0080;
|
|
43046
|
+
const INDIRECT: 0x0100;
|
|
43047
|
+
const QUERY_RESOLVE: 0x0200;
|
|
43048
|
+
}
|
|
43049
|
+
|
|
43050
|
+
declare namespace GPUColorWrite {
|
|
43051
|
+
const RED: 0x1;
|
|
43052
|
+
const GREEN: 0x2;
|
|
43053
|
+
const BLUE: 0x4;
|
|
43054
|
+
const ALPHA: 0x8;
|
|
43055
|
+
const ALL: 0xF;
|
|
43056
|
+
}
|
|
43057
|
+
|
|
43058
|
+
declare namespace GPUMapMode {
|
|
43059
|
+
const READ: 0x0001;
|
|
43060
|
+
const WRITE: 0x0002;
|
|
43061
|
+
}
|
|
43062
|
+
|
|
43063
|
+
declare namespace GPUShaderStage {
|
|
43064
|
+
const VERTEX: 0x1;
|
|
43065
|
+
const FRAGMENT: 0x2;
|
|
43066
|
+
const COMPUTE: 0x4;
|
|
43067
|
+
}
|
|
43068
|
+
|
|
43069
|
+
declare namespace GPUTextureUsage {
|
|
43070
|
+
const COPY_SRC: 0x01;
|
|
43071
|
+
const COPY_DST: 0x02;
|
|
43072
|
+
const TEXTURE_BINDING: 0x04;
|
|
43073
|
+
const STORAGE_BINDING: 0x08;
|
|
43074
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
43075
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
43076
|
+
}
|
|
43077
|
+
|
|
43016
43078
|
declare namespace WebAssembly {
|
|
43017
43079
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
43018
43080
|
interface CompileError extends Error {
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -1748,6 +1748,11 @@ interface NavigationUpdateCurrentEntryOptions {
|
|
|
1748
1748
|
state: any;
|
|
1749
1749
|
}
|
|
1750
1750
|
|
|
1751
|
+
interface NotificationAction {
|
|
1752
|
+
action: string;
|
|
1753
|
+
title: string;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1751
1756
|
interface NotificationOptions {
|
|
1752
1757
|
badge?: string;
|
|
1753
1758
|
body?: string;
|
|
@@ -26715,6 +26720,12 @@ interface NotificationEventMap {
|
|
|
26715
26720
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
26716
26721
|
*/
|
|
26717
26722
|
interface Notification extends EventTarget {
|
|
26723
|
+
/**
|
|
26724
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
26725
|
+
*
|
|
26726
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
26727
|
+
*/
|
|
26728
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
26718
26729
|
/**
|
|
26719
26730
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
26720
26731
|
*
|
|
@@ -26792,6 +26803,12 @@ interface Notification extends EventTarget {
|
|
|
26792
26803
|
declare var Notification: {
|
|
26793
26804
|
prototype: Notification;
|
|
26794
26805
|
new(title: string, options?: NotificationOptions): Notification;
|
|
26806
|
+
/**
|
|
26807
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
26808
|
+
*
|
|
26809
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
26810
|
+
*/
|
|
26811
|
+
readonly maxActions: number;
|
|
26795
26812
|
/**
|
|
26796
26813
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
26797
26814
|
*
|
|
@@ -29989,9 +30006,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
|
|
|
29989
30006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
|
|
29990
30007
|
*/
|
|
29991
30008
|
readonly address: string | null;
|
|
30009
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
|
|
29992
30010
|
readonly errorCode: number;
|
|
30011
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
|
|
29993
30012
|
readonly errorText: string;
|
|
30013
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
|
|
29994
30014
|
readonly port: number | null;
|
|
30015
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
|
|
29995
30016
|
readonly url: string;
|
|
29996
30017
|
}
|
|
29997
30018
|
|
|
@@ -43036,6 +43057,47 @@ declare namespace CSS {
|
|
|
43036
43057
|
function vw(value: number): CSSUnitValue;
|
|
43037
43058
|
}
|
|
43038
43059
|
|
|
43060
|
+
declare namespace GPUBufferUsage {
|
|
43061
|
+
const MAP_READ: 0x0001;
|
|
43062
|
+
const MAP_WRITE: 0x0002;
|
|
43063
|
+
const COPY_SRC: 0x0004;
|
|
43064
|
+
const COPY_DST: 0x0008;
|
|
43065
|
+
const INDEX: 0x0010;
|
|
43066
|
+
const VERTEX: 0x0020;
|
|
43067
|
+
const UNIFORM: 0x0040;
|
|
43068
|
+
const STORAGE: 0x0080;
|
|
43069
|
+
const INDIRECT: 0x0100;
|
|
43070
|
+
const QUERY_RESOLVE: 0x0200;
|
|
43071
|
+
}
|
|
43072
|
+
|
|
43073
|
+
declare namespace GPUColorWrite {
|
|
43074
|
+
const RED: 0x1;
|
|
43075
|
+
const GREEN: 0x2;
|
|
43076
|
+
const BLUE: 0x4;
|
|
43077
|
+
const ALPHA: 0x8;
|
|
43078
|
+
const ALL: 0xF;
|
|
43079
|
+
}
|
|
43080
|
+
|
|
43081
|
+
declare namespace GPUMapMode {
|
|
43082
|
+
const READ: 0x0001;
|
|
43083
|
+
const WRITE: 0x0002;
|
|
43084
|
+
}
|
|
43085
|
+
|
|
43086
|
+
declare namespace GPUShaderStage {
|
|
43087
|
+
const VERTEX: 0x1;
|
|
43088
|
+
const FRAGMENT: 0x2;
|
|
43089
|
+
const COMPUTE: 0x4;
|
|
43090
|
+
}
|
|
43091
|
+
|
|
43092
|
+
declare namespace GPUTextureUsage {
|
|
43093
|
+
const COPY_SRC: 0x01;
|
|
43094
|
+
const COPY_DST: 0x02;
|
|
43095
|
+
const TEXTURE_BINDING: 0x04;
|
|
43096
|
+
const STORAGE_BINDING: 0x08;
|
|
43097
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
43098
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
43099
|
+
}
|
|
43100
|
+
|
|
43039
43101
|
declare namespace WebAssembly {
|
|
43040
43102
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
43041
43103
|
interface CompileError extends Error {
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -1748,6 +1748,11 @@ interface NavigationUpdateCurrentEntryOptions {
|
|
|
1748
1748
|
state: any;
|
|
1749
1749
|
}
|
|
1750
1750
|
|
|
1751
|
+
interface NotificationAction {
|
|
1752
|
+
action: string;
|
|
1753
|
+
title: string;
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1751
1756
|
interface NotificationOptions {
|
|
1752
1757
|
badge?: string;
|
|
1753
1758
|
body?: string;
|
|
@@ -26715,6 +26720,12 @@ interface NotificationEventMap {
|
|
|
26715
26720
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification)
|
|
26716
26721
|
*/
|
|
26717
26722
|
interface Notification extends EventTarget {
|
|
26723
|
+
/**
|
|
26724
|
+
* The **`actions`** read-only property of the Notification interface provides the actions available for users to choose from for interacting with the notification.
|
|
26725
|
+
*
|
|
26726
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/actions)
|
|
26727
|
+
*/
|
|
26728
|
+
readonly actions: ReadonlyArray<NotificationAction>;
|
|
26718
26729
|
/**
|
|
26719
26730
|
* The **`body`** read-only property of the Notification interface indicates the body string of the notification, as specified in the body option of the Notification() constructor.
|
|
26720
26731
|
*
|
|
@@ -26792,6 +26803,12 @@ interface Notification extends EventTarget {
|
|
|
26792
26803
|
declare var Notification: {
|
|
26793
26804
|
prototype: Notification;
|
|
26794
26805
|
new(title: string, options?: NotificationOptions): Notification;
|
|
26806
|
+
/**
|
|
26807
|
+
* The **`maxActions`** read-only static property of the Notification interface returns the maximum number of actions supported by the device and the User Agent. Effectively, this is the maximum number of elements in Notification.actions array which will be respected by the User Agent.
|
|
26808
|
+
*
|
|
26809
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/maxActions_static)
|
|
26810
|
+
*/
|
|
26811
|
+
readonly maxActions: number;
|
|
26795
26812
|
/**
|
|
26796
26813
|
* The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
|
|
26797
26814
|
*
|
|
@@ -29989,9 +30006,13 @@ interface RTCPeerConnectionIceErrorEvent extends Event {
|
|
|
29989
30006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/address)
|
|
29990
30007
|
*/
|
|
29991
30008
|
readonly address: string | null;
|
|
30009
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorCode) */
|
|
29992
30010
|
readonly errorCode: number;
|
|
30011
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/errorText) */
|
|
29993
30012
|
readonly errorText: string;
|
|
30013
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/port) */
|
|
29994
30014
|
readonly port: number | null;
|
|
30015
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCPeerConnectionIceErrorEvent/url) */
|
|
29995
30016
|
readonly url: string;
|
|
29996
30017
|
}
|
|
29997
30018
|
|
|
@@ -43036,6 +43057,47 @@ declare namespace CSS {
|
|
|
43036
43057
|
function vw(value: number): CSSUnitValue;
|
|
43037
43058
|
}
|
|
43038
43059
|
|
|
43060
|
+
declare namespace GPUBufferUsage {
|
|
43061
|
+
const MAP_READ: 0x0001;
|
|
43062
|
+
const MAP_WRITE: 0x0002;
|
|
43063
|
+
const COPY_SRC: 0x0004;
|
|
43064
|
+
const COPY_DST: 0x0008;
|
|
43065
|
+
const INDEX: 0x0010;
|
|
43066
|
+
const VERTEX: 0x0020;
|
|
43067
|
+
const UNIFORM: 0x0040;
|
|
43068
|
+
const STORAGE: 0x0080;
|
|
43069
|
+
const INDIRECT: 0x0100;
|
|
43070
|
+
const QUERY_RESOLVE: 0x0200;
|
|
43071
|
+
}
|
|
43072
|
+
|
|
43073
|
+
declare namespace GPUColorWrite {
|
|
43074
|
+
const RED: 0x1;
|
|
43075
|
+
const GREEN: 0x2;
|
|
43076
|
+
const BLUE: 0x4;
|
|
43077
|
+
const ALPHA: 0x8;
|
|
43078
|
+
const ALL: 0xF;
|
|
43079
|
+
}
|
|
43080
|
+
|
|
43081
|
+
declare namespace GPUMapMode {
|
|
43082
|
+
const READ: 0x0001;
|
|
43083
|
+
const WRITE: 0x0002;
|
|
43084
|
+
}
|
|
43085
|
+
|
|
43086
|
+
declare namespace GPUShaderStage {
|
|
43087
|
+
const VERTEX: 0x1;
|
|
43088
|
+
const FRAGMENT: 0x2;
|
|
43089
|
+
const COMPUTE: 0x4;
|
|
43090
|
+
}
|
|
43091
|
+
|
|
43092
|
+
declare namespace GPUTextureUsage {
|
|
43093
|
+
const COPY_SRC: 0x01;
|
|
43094
|
+
const COPY_DST: 0x02;
|
|
43095
|
+
const TEXTURE_BINDING: 0x04;
|
|
43096
|
+
const STORAGE_BINDING: 0x08;
|
|
43097
|
+
const RENDER_ATTACHMENT: 0x10;
|
|
43098
|
+
const TRANSIENT_ATTACHMENT: 0x20;
|
|
43099
|
+
}
|
|
43100
|
+
|
|
43039
43101
|
declare namespace WebAssembly {
|
|
43040
43102
|
/** The **`WebAssembly.CompileError`** object indicates an error during WebAssembly decoding or validation. */
|
|
43041
43103
|
interface CompileError extends Error {
|