@@ -327,22 +327,22 @@ interface WEBGL_draw_buffers {
327
327
328
328
interface WEBGL_multi_draw {
329
329
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
330
- multiDrawArraysInstancedWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : GLuint , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , instanceCountsList : Int32Array | Iterable < GLsizei > , instanceCountsOffset : GLuint , drawcount : GLsizei ) : void ;
330
+ multiDrawArraysInstancedWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : number , countsList : Int32Array | Iterable < GLsizei > , countsOffset : number , instanceCountsList : Int32Array | Iterable < GLsizei > , instanceCountsOffset : number , drawcount : GLsizei ) : void ;
331
331
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
332
- multiDrawArraysWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : GLuint , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , drawcount : GLsizei ) : void ;
332
+ multiDrawArraysWEBGL ( mode : GLenum , firstsList : Int32Array | Iterable < GLint > , firstsOffset : number , countsList : Int32Array | Iterable < GLsizei > , countsOffset : number , drawcount : GLsizei ) : void ;
333
333
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
334
- multiDrawElementsInstancedWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : GLuint , instanceCountsList : Int32Array | Iterable < GLsizei > , instanceCountsOffset : GLuint , drawcount : GLsizei ) : void ;
334
+ multiDrawElementsInstancedWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLsizei > , countsOffset : number , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : number , instanceCountsList : Int32Array | Iterable < GLsizei > , instanceCountsOffset : number , drawcount : GLsizei ) : void ;
335
335
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
336
- multiDrawElementsWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLsizei > , countsOffset : GLuint , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : GLuint , drawcount : GLsizei ) : void ;
336
+ multiDrawElementsWEBGL ( mode : GLenum , countsList : Int32Array | Iterable < GLsizei > , countsOffset : number , type : GLenum , offsetsList : Int32Array | Iterable < GLsizei > , offsetsOffset : number , drawcount : GLsizei ) : void ;
337
337
}
338
338
339
339
interface WebGL2RenderingContextBase {
340
340
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
341
- clearBufferfv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLfloat > , srcOffset ?: GLuint ) : void ;
341
+ clearBufferfv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLfloat > , srcOffset ?: number ) : void ;
342
342
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
343
- clearBufferiv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLint > , srcOffset ?: GLuint ) : void ;
343
+ clearBufferiv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLint > , srcOffset ?: number ) : void ;
344
344
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
345
- clearBufferuiv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLuint > , srcOffset ?: GLuint ) : void ;
345
+ clearBufferuiv ( buffer : GLenum , drawbuffer : GLint , values : Iterable < GLuint > , srcOffset ?: number ) : void ;
346
346
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
347
347
drawBuffers ( buffers : Iterable < GLenum > ) : void ;
348
348
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
@@ -356,25 +356,25 @@ interface WebGL2RenderingContextBase {
356
356
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
357
357
transformFeedbackVaryings ( program : WebGLProgram , varyings : Iterable < string > , bufferMode : GLenum ) : void ;
358
358
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
359
- uniform1uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
359
+ uniform1uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
360
360
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
361
- uniform2uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
361
+ uniform2uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
362
362
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
363
- uniform3uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
363
+ uniform3uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
364
364
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
365
- uniform4uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
365
+ uniform4uiv ( location : WebGLUniformLocation | null , data : Iterable < GLuint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
366
366
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
367
- uniformMatrix2x3fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
367
+ uniformMatrix2x3fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
368
368
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
369
- uniformMatrix2x4fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
369
+ uniformMatrix2x4fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
370
370
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
371
- uniformMatrix3x2fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
371
+ uniformMatrix3x2fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
372
372
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
373
- uniformMatrix3x4fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
373
+ uniformMatrix3x4fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
374
374
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
375
- uniformMatrix4x2fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
375
+ uniformMatrix4x2fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
376
376
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
377
- uniformMatrix4x3fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
377
+ uniformMatrix4x3fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
378
378
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
379
379
vertexAttribI4iv ( index : GLuint , values : Iterable < GLint > ) : void ;
380
380
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
@@ -383,27 +383,27 @@ interface WebGL2RenderingContextBase {
383
383
384
384
interface WebGL2RenderingContextOverloads {
385
385
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
386
- uniform1fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
386
+ uniform1fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
387
387
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
388
- uniform1iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
388
+ uniform1iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
389
389
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
390
- uniform2fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
390
+ uniform2fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
391
391
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
392
- uniform2iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
392
+ uniform2iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
393
393
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
394
- uniform3fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
394
+ uniform3fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
395
395
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
396
- uniform3iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
396
+ uniform3iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
397
397
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
398
- uniform4fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
398
+ uniform4fv ( location : WebGLUniformLocation | null , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
399
399
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
400
- uniform4iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
400
+ uniform4iv ( location : WebGLUniformLocation | null , data : Iterable < GLint > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
401
401
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
402
- uniformMatrix2fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
402
+ uniformMatrix2fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
403
403
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
404
- uniformMatrix3fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
404
+ uniformMatrix3fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
405
405
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
406
- uniformMatrix4fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: GLuint , srcLength ?: GLuint ) : void ;
406
+ uniformMatrix4fv ( location : WebGLUniformLocation | null , transpose : GLboolean , data : Iterable < GLfloat > , srcOffset ?: number , srcLength ?: GLuint ) : void ;
407
407
}
408
408
409
409
interface WebGLRenderingContextBase {
0 commit comments