@types/web 0.0.326 → 0.0.327
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 +77 -77
- package/package.json +1 -1
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.327 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.327.
|
package/index.d.ts
CHANGED
|
@@ -43693,7 +43693,7 @@ interface AudioParam {
|
|
|
43693
43693
|
*
|
|
43694
43694
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime)
|
|
43695
43695
|
*/
|
|
43696
|
-
setValueCurveAtTime(values: number
|
|
43696
|
+
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;
|
|
43697
43697
|
}
|
|
43698
43698
|
|
|
43699
43699
|
interface AudioParamMap extends ReadonlyMap<string, AudioParam> {
|
|
@@ -43705,13 +43705,13 @@ interface BaseAudioContext {
|
|
|
43705
43705
|
*
|
|
43706
43706
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createIIRFilter)
|
|
43707
43707
|
*/
|
|
43708
|
-
createIIRFilter(feedforward: number
|
|
43708
|
+
createIIRFilter(feedforward: Iterable<number>, feedback: Iterable<number>): IIRFilterNode;
|
|
43709
43709
|
/**
|
|
43710
43710
|
* The **`createPeriodicWave()`** method of the BaseAudioContext interface is used to create a PeriodicWave. This wave is used to define a periodic waveform that can be used to shape the output of an OscillatorNode.
|
|
43711
43711
|
*
|
|
43712
43712
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BaseAudioContext/createPeriodicWave)
|
|
43713
43713
|
*/
|
|
43714
|
-
createPeriodicWave(real: number
|
|
43714
|
+
createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
|
|
43715
43715
|
}
|
|
43716
43716
|
|
|
43717
43717
|
interface CSSKeyframesRule {
|
|
@@ -43753,17 +43753,17 @@ interface Cache {
|
|
|
43753
43753
|
*
|
|
43754
43754
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll)
|
|
43755
43755
|
*/
|
|
43756
|
-
addAll(requests: RequestInfo
|
|
43756
|
+
addAll(requests: Iterable<RequestInfo>): Promise<void>;
|
|
43757
43757
|
}
|
|
43758
43758
|
|
|
43759
43759
|
interface CanvasPath {
|
|
43760
43760
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
|
|
43761
|
-
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit |
|
|
43761
|
+
roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
|
|
43762
43762
|
}
|
|
43763
43763
|
|
|
43764
43764
|
interface CanvasPathDrawingStyles {
|
|
43765
43765
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
|
|
43766
|
-
setLineDash(segments: number
|
|
43766
|
+
setLineDash(segments: Iterable<number>): void;
|
|
43767
43767
|
}
|
|
43768
43768
|
|
|
43769
43769
|
interface CookieStoreManager {
|
|
@@ -43772,13 +43772,13 @@ interface CookieStoreManager {
|
|
|
43772
43772
|
*
|
|
43773
43773
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/subscribe)
|
|
43774
43774
|
*/
|
|
43775
|
-
subscribe(subscriptions: CookieStoreGetOptions
|
|
43775
|
+
subscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
|
43776
43776
|
/**
|
|
43777
43777
|
* The **`unsubscribe()`** method of the CookieStoreManager interface stops the ServiceWorkerRegistration from receiving previously subscribed events.
|
|
43778
43778
|
*
|
|
43779
43779
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CookieStoreManager/unsubscribe)
|
|
43780
43780
|
*/
|
|
43781
|
-
unsubscribe(subscriptions: CookieStoreGetOptions
|
|
43781
|
+
unsubscribe(subscriptions: Iterable<CookieStoreGetOptions>): Promise<void>;
|
|
43782
43782
|
}
|
|
43783
43783
|
|
|
43784
43784
|
interface CustomStateSet extends Set<string> {
|
|
@@ -43829,7 +43829,7 @@ interface FormData {
|
|
|
43829
43829
|
|
|
43830
43830
|
interface GPUBindingCommandsMixin {
|
|
43831
43831
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUComputePassEncoder/setBindGroup) */
|
|
43832
|
-
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: GPUBufferDynamicOffset
|
|
43832
|
+
setBindGroup(index: GPUIndex32, bindGroup: GPUBindGroup | null, dynamicOffsets?: Iterable<GPUBufferDynamicOffset>): void;
|
|
43833
43833
|
}
|
|
43834
43834
|
|
|
43835
43835
|
interface GPURenderPassEncoder {
|
|
@@ -43838,13 +43838,13 @@ interface GPURenderPassEncoder {
|
|
|
43838
43838
|
*
|
|
43839
43839
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/executeBundles)
|
|
43840
43840
|
*/
|
|
43841
|
-
executeBundles(bundles: GPURenderBundle
|
|
43841
|
+
executeBundles(bundles: Iterable<GPURenderBundle>): void;
|
|
43842
43842
|
/**
|
|
43843
43843
|
* The **`setBlendConstant()`** method of the GPURenderPassEncoder interface sets the constant blend color and alpha values used with "constant" and "one-minus-constant" blend factors (as set in the descriptor of the GPUDevice.createRenderPipeline() method, in the blend property).
|
|
43844
43844
|
*
|
|
43845
43845
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/GPURenderPassEncoder/setBlendConstant)
|
|
43846
43846
|
*/
|
|
43847
|
-
setBlendConstant(color: number
|
|
43847
|
+
setBlendConstant(color: Iterable<number>): void;
|
|
43848
43848
|
}
|
|
43849
43849
|
|
|
43850
43850
|
interface GPUSupportedFeatures extends ReadonlySet<string> {
|
|
@@ -43896,7 +43896,7 @@ interface IDBDatabase {
|
|
|
43896
43896
|
*
|
|
43897
43897
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
|
|
43898
43898
|
*/
|
|
43899
|
-
transaction(storeNames: string | string
|
|
43899
|
+
transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
|
|
43900
43900
|
}
|
|
43901
43901
|
|
|
43902
43902
|
interface IDBObjectStore {
|
|
@@ -43905,7 +43905,7 @@ interface IDBObjectStore {
|
|
|
43905
43905
|
*
|
|
43906
43906
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
|
|
43907
43907
|
*/
|
|
43908
|
-
createIndex(name: string, keyPath: string | string
|
|
43908
|
+
createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
|
|
43909
43909
|
}
|
|
43910
43910
|
|
|
43911
43911
|
interface ImageTrackList {
|
|
@@ -43921,7 +43921,7 @@ interface MIDIOutput {
|
|
|
43921
43921
|
*
|
|
43922
43922
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIOutput/send)
|
|
43923
43923
|
*/
|
|
43924
|
-
send(data: number
|
|
43924
|
+
send(data: Iterable<number>, timestamp?: DOMHighResTimeStamp): void;
|
|
43925
43925
|
}
|
|
43926
43926
|
|
|
43927
43927
|
interface MIDIOutputMap extends ReadonlyMap<string, MIDIOutput> {
|
|
@@ -43944,7 +43944,7 @@ interface MediaList {
|
|
|
43944
43944
|
|
|
43945
43945
|
interface MessageEvent<T = any> {
|
|
43946
43946
|
/** @deprecated */
|
|
43947
|
-
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: MessagePort
|
|
43947
|
+
initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
|
|
43948
43948
|
}
|
|
43949
43949
|
|
|
43950
43950
|
interface MimeTypeArray {
|
|
@@ -43962,13 +43962,13 @@ interface Navigator {
|
|
|
43962
43962
|
*
|
|
43963
43963
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/requestMediaKeySystemAccess)
|
|
43964
43964
|
*/
|
|
43965
|
-
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: MediaKeySystemConfiguration
|
|
43965
|
+
requestMediaKeySystemAccess(keySystem: string, supportedConfigurations: Iterable<MediaKeySystemConfiguration>): Promise<MediaKeySystemAccess>;
|
|
43966
43966
|
/**
|
|
43967
43967
|
* The **`vibrate()`** method of the Navigator interface pulses the vibration hardware on the device, if such hardware exists. If the device doesn't support vibration, this method has no effect. If a vibration pattern is already in progress when this method is called, the previous pattern is halted and the new one begins instead.
|
|
43968
43968
|
*
|
|
43969
43969
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Navigator/vibrate)
|
|
43970
43970
|
*/
|
|
43971
|
-
vibrate(pattern: number
|
|
43971
|
+
vibrate(pattern: Iterable<number>): boolean;
|
|
43972
43972
|
}
|
|
43973
43973
|
|
|
43974
43974
|
interface NodeList {
|
|
@@ -44005,7 +44005,7 @@ interface RTCRtpTransceiver {
|
|
|
44005
44005
|
*
|
|
44006
44006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCRtpTransceiver/setCodecPreferences)
|
|
44007
44007
|
*/
|
|
44008
|
-
setCodecPreferences(codecs: RTCRtpCodec
|
|
44008
|
+
setCodecPreferences(codecs: Iterable<RTCRtpCodec>): void;
|
|
44009
44009
|
}
|
|
44010
44010
|
|
|
44011
44011
|
interface RTCStatsReport extends ReadonlyMap<string, any> {
|
|
@@ -44048,10 +44048,10 @@ interface StylePropertyMapReadOnlyIterator<T> extends IteratorObject<T, BuiltinI
|
|
|
44048
44048
|
}
|
|
44049
44049
|
|
|
44050
44050
|
interface StylePropertyMapReadOnly {
|
|
44051
|
-
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, CSSStyleValue
|
|
44052
|
-
entries(): StylePropertyMapReadOnlyIterator<[string, CSSStyleValue
|
|
44051
|
+
[Symbol.iterator](): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
44052
|
+
entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>;
|
|
44053
44053
|
keys(): StylePropertyMapReadOnlyIterator<string>;
|
|
44054
|
-
values(): StylePropertyMapReadOnlyIterator<CSSStyleValue
|
|
44054
|
+
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
|
|
44055
44055
|
}
|
|
44056
44056
|
|
|
44057
44057
|
interface StyleSheetList {
|
|
@@ -44064,7 +44064,7 @@ interface SubtleCrypto {
|
|
|
44064
44064
|
*
|
|
44065
44065
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey)
|
|
44066
44066
|
*/
|
|
44067
|
-
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: KeyUsage
|
|
44067
|
+
deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
44068
44068
|
/**
|
|
44069
44069
|
* The **`generateKey()`** method of the SubtleCrypto interface is used to generate a new key (for symmetric algorithms) or key pair (for public-key algorithms).
|
|
44070
44070
|
*
|
|
@@ -44074,20 +44074,20 @@ interface SubtleCrypto {
|
|
|
44074
44074
|
generateKey(algorithm: "X25519" | { name: "X25519" }, extractable: boolean, keyUsages: ReadonlyArray<"deriveBits" | "deriveKey">): Promise<CryptoKeyPair>;
|
|
44075
44075
|
generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
|
|
44076
44076
|
generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
44077
|
-
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: KeyUsage
|
|
44077
|
+
generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
|
|
44078
44078
|
/**
|
|
44079
44079
|
* The **`importKey()`** method of the SubtleCrypto interface imports a key: that is, it takes as input a key in an external, portable format and gives you a CryptoKey object that you can use in the Web Crypto API.
|
|
44080
44080
|
*
|
|
44081
44081
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey)
|
|
44082
44082
|
*/
|
|
44083
44083
|
importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
|
|
44084
|
-
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage
|
|
44084
|
+
importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
44085
44085
|
/**
|
|
44086
44086
|
* The **`unwrapKey()`** method of the SubtleCrypto interface "unwraps" a key. This means that it takes as its input a key that has been exported and then encrypted (also called "wrapped"). It decrypts the key and then imports it, returning a CryptoKey object that can be used in the Web Crypto API.
|
|
44087
44087
|
*
|
|
44088
44088
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey)
|
|
44089
44089
|
*/
|
|
44090
|
-
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: KeyUsage
|
|
44090
|
+
unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
|
|
44091
44091
|
}
|
|
44092
44092
|
|
|
44093
44093
|
interface TextTrackCueList {
|
|
@@ -44125,7 +44125,7 @@ interface WEBGL_draw_buffers {
|
|
|
44125
44125
|
*
|
|
44126
44126
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL)
|
|
44127
44127
|
*/
|
|
44128
|
-
drawBuffersWEBGL(buffers: GLenum
|
|
44128
|
+
drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
|
|
44129
44129
|
}
|
|
44130
44130
|
|
|
44131
44131
|
interface WEBGL_multi_draw {
|
|
@@ -44134,25 +44134,25 @@ interface WEBGL_multi_draw {
|
|
|
44134
44134
|
*
|
|
44135
44135
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL)
|
|
44136
44136
|
*/
|
|
44137
|
-
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint
|
|
44137
|
+
multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
44138
44138
|
/**
|
|
44139
44139
|
* The **`WEBGL_multi_draw.multiDrawArraysWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArrays() method.
|
|
44140
44140
|
*
|
|
44141
44141
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL)
|
|
44142
44142
|
*/
|
|
44143
|
-
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | GLint
|
|
44143
|
+
multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike> | Iterable<GLint>, firstsOffset: number, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
|
|
44144
44144
|
/**
|
|
44145
44145
|
* The **`WEBGL_multi_draw.multiDrawElementsInstancedWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElementsInstanced() method.
|
|
44146
44146
|
*
|
|
44147
44147
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL)
|
|
44148
44148
|
*/
|
|
44149
|
-
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei
|
|
44149
|
+
multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
|
|
44150
44150
|
/**
|
|
44151
44151
|
* The **`WEBGL_multi_draw.multiDrawElementsWEBGL()`** method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawElements() method.
|
|
44152
44152
|
*
|
|
44153
44153
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL)
|
|
44154
44154
|
*/
|
|
44155
|
-
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | GLsizei
|
|
44155
|
+
multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array<ArrayBufferLike> | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
|
|
44156
44156
|
}
|
|
44157
44157
|
|
|
44158
44158
|
interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
@@ -44160,108 +44160,108 @@ interface WGSLLanguageFeatures extends ReadonlySet<string> {
|
|
|
44160
44160
|
|
|
44161
44161
|
interface WebGL2RenderingContextBase {
|
|
44162
44162
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
44163
|
-
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: GLfloat
|
|
44163
|
+
clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
|
|
44164
44164
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
44165
|
-
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: GLint
|
|
44165
|
+
clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;
|
|
44166
44166
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
|
|
44167
|
-
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: GLuint
|
|
44167
|
+
clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;
|
|
44168
44168
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
|
|
44169
|
-
drawBuffers(buffers: GLenum
|
|
44169
|
+
drawBuffers(buffers: Iterable<GLenum>): void;
|
|
44170
44170
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
|
|
44171
|
-
getActiveUniforms(program: WebGLProgram, uniformIndices: GLuint
|
|
44171
|
+
getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
|
|
44172
44172
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
|
|
44173
|
-
getUniformIndices(program: WebGLProgram, uniformNames: string
|
|
44173
|
+
getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): GLuint[] | null;
|
|
44174
44174
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
|
|
44175
|
-
invalidateFramebuffer(target: GLenum, attachments: GLenum
|
|
44175
|
+
invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
|
|
44176
44176
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
|
|
44177
|
-
invalidateSubFramebuffer(target: GLenum, attachments: GLenum
|
|
44177
|
+
invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
|
|
44178
44178
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
|
|
44179
|
-
transformFeedbackVaryings(program: WebGLProgram, varyings: string
|
|
44179
|
+
transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
|
|
44180
44180
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44181
|
-
uniform1uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44181
|
+
uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44182
44182
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44183
|
-
uniform2uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44183
|
+
uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44184
44184
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44185
|
-
uniform3uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44185
|
+
uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44186
44186
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
|
|
44187
|
-
uniform4uiv(location: WebGLUniformLocation | null, data: GLuint
|
|
44187
|
+
uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44188
44188
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44189
|
-
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44189
|
+
uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44190
44190
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44191
|
-
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44191
|
+
uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44192
44192
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44193
|
-
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44193
|
+
uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44194
44194
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44195
|
-
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44195
|
+
uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44196
44196
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44197
|
-
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44197
|
+
uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44198
44198
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44199
|
-
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44199
|
+
uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44200
44200
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
44201
|
-
vertexAttribI4iv(index: GLuint, values: GLint
|
|
44201
|
+
vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
|
|
44202
44202
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
|
|
44203
|
-
vertexAttribI4uiv(index: GLuint, values: GLuint
|
|
44203
|
+
vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
|
|
44204
44204
|
}
|
|
44205
44205
|
|
|
44206
44206
|
interface WebGL2RenderingContextOverloads {
|
|
44207
44207
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44208
|
-
uniform1fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44208
|
+
uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44209
44209
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44210
|
-
uniform1iv(location: WebGLUniformLocation | null, data: GLint
|
|
44210
|
+
uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44211
44211
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44212
|
-
uniform2fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44212
|
+
uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44213
44213
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44214
|
-
uniform2iv(location: WebGLUniformLocation | null, data: GLint
|
|
44214
|
+
uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44215
44215
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44216
|
-
uniform3fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44216
|
+
uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44217
44217
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44218
|
-
uniform3iv(location: WebGLUniformLocation | null, data: GLint
|
|
44218
|
+
uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44219
44219
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44220
|
-
uniform4fv(location: WebGLUniformLocation | null, data: GLfloat
|
|
44220
|
+
uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44221
44221
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44222
|
-
uniform4iv(location: WebGLUniformLocation | null, data: GLint
|
|
44222
|
+
uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44223
44223
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
|
|
44224
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44224
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44225
44225
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44226
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44226
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44227
44227
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44228
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: GLfloat
|
|
44228
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
|
|
44229
44229
|
}
|
|
44230
44230
|
|
|
44231
44231
|
interface WebGLRenderingContextBase {
|
|
44232
44232
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44233
|
-
vertexAttrib1fv(index: GLuint, values: GLfloat
|
|
44233
|
+
vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44234
44234
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44235
|
-
vertexAttrib2fv(index: GLuint, values: GLfloat
|
|
44235
|
+
vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44236
44236
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44237
|
-
vertexAttrib3fv(index: GLuint, values: GLfloat
|
|
44237
|
+
vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44238
44238
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
|
|
44239
|
-
vertexAttrib4fv(index: GLuint, values: GLfloat
|
|
44239
|
+
vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
|
|
44240
44240
|
}
|
|
44241
44241
|
|
|
44242
44242
|
interface WebGLRenderingContextOverloads {
|
|
44243
44243
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44244
|
-
uniform1fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44244
|
+
uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44245
44245
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44246
|
-
uniform1iv(location: WebGLUniformLocation | null, v: GLint
|
|
44246
|
+
uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44247
44247
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44248
|
-
uniform2fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44248
|
+
uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44249
44249
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44250
|
-
uniform2iv(location: WebGLUniformLocation | null, v: GLint
|
|
44250
|
+
uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44251
44251
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44252
|
-
uniform3fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44252
|
+
uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44253
44253
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44254
|
-
uniform3iv(location: WebGLUniformLocation | null, v: GLint
|
|
44254
|
+
uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44255
44255
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44256
|
-
uniform4fv(location: WebGLUniformLocation | null, v: GLfloat
|
|
44256
|
+
uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
|
|
44257
44257
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
|
|
44258
|
-
uniform4iv(location: WebGLUniformLocation | null, v: GLint
|
|
44258
|
+
uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
|
|
44259
44259
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44260
|
-
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat
|
|
44260
|
+
uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
44261
44261
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44262
|
-
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat
|
|
44262
|
+
uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
44263
44263
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
|
|
44264
|
-
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: GLfloat
|
|
44264
|
+
uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
|
|
44265
44265
|
}
|
|
44266
44266
|
|
|
44267
44267
|
|