WEBGL_multi_draw

sealed interface WEBGL_multi_draw(source)

Functions

Link copied to clipboard
abstract fun multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike>, firstsOffset: Int, countsList: Int32Array<ArrayBufferLike>, countsOffset: Int, instanceCountsList: Int32Array<ArrayBufferLike>, instanceCountsOffset: Int, drawcount: GLsizei)

The WEBGL_multi_draw.multiDrawArraysInstancedWEBGL() method of the WebGL API renders multiple primitives from array data. It is identical to multiple calls to the gl.drawArraysInstanced() method.

Link copied to clipboard
abstract fun multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array<ArrayBufferLike>, firstsOffset: Int, countsList: Int32Array<ArrayBufferLike>, countsOffset: Int, drawcount: GLsizei)

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.

Link copied to clipboard
abstract fun multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike>, countsOffset: Int, type: GLenum, offsetsList: Int32Array<ArrayBufferLike>, offsetsOffset: Int, instanceCountsList: Int32Array<ArrayBufferLike>, instanceCountsOffset: Int, drawcount: GLsizei)

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.

Link copied to clipboard
abstract fun multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array<ArrayBufferLike>, countsOffset: Int, type: GLenum, offsetsList: Int32Array<ArrayBufferLike>, offsetsOffset: Int, drawcount: GLsizei)

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.