WEBGL_multi_draw
interface WEBGL_multi_draw {
multiDrawArraysInstancedWEBGL(
mode: GLenum,
firstsList: Int32Array | GLint[],
firstsOffset: GLuint,
countsList: Int32Array | GLsizei[],
countsOffset: GLuint,
instanceCountsList: Int32Array | GLsizei[],
instanceCountsOffset: GLuint,
drawcount: GLsizei,
): void;multiDrawArraysInstancedWEBGL(
mode: GLenum,
firstsList: Int32Array | Iterable<GLint>,
firstsOffset: GLuint,
countsList: Int32Array | Iterable<GLsizei>,
countsOffset: GLuint,
instanceCountsList: Int32Array | Iterable<GLsizei>,
instanceCountsOffset: GLuint,
drawcount: GLsizei,
): void;multiDrawArraysWEBGL(
mode: GLenum,
firstsList: Int32Array | GLint[],
firstsOffset: GLuint,
countsList: Int32Array | GLsizei[],
countsOffset: GLuint,
drawcount: GLsizei,
): void;multiDrawArraysWEBGL(
mode: GLenum,
firstsList: Int32Array | Iterable<GLint>,
firstsOffset: GLuint,
countsList: Int32Array | Iterable<GLsizei>,
countsOffset: GLuint,
drawcount: GLsizei,
): void;multiDrawElementsInstancedWEBGL(
mode: GLenum,
countsList: Int32Array | GLint[],
countsOffset: GLuint,
type: GLenum,
offsetsList: Int32Array | GLsizei[],
offsetsOffset: GLuint,
instanceCountsList: Int32Array | GLsizei[],
instanceCountsOffset: GLuint,
drawcount: GLsizei,
): void;multiDrawElementsInstancedWEBGL(
}mode: GLenum,
countsList: Int32Array | Iterable<GLint>,
countsOffset: GLuint,
type: GLenum,
offsetsList: Int32Array | Iterable<GLsizei>,
offsetsOffset: GLuint,
instanceCountsList: Int32Array | Iterable<GLsizei>,
instanceCountsOffset: GLuint,
drawcount: GLsizei,
): void;