Skip to content

API Reference / @gtkx/gl / multiDrawElements

Function: multiDrawElements()

multiDrawElements(mode, count, type, indices, drawcount): void

Defined in: generated/commands.d.ts:3474

void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount)

Provided by GL_VERSION_1_4.

Parameters

mode

number

GLenum, group PrimitiveType

count

number[] | Int32Array<ArrayBufferLike>

const GLsizei *, length drawcount

type

number

GLenum, group DrawElementsType

indices

number[]

const void *const*, length drawcount

drawcount

number

GLsizei

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glMultiDrawElements.xhtml

Released under the MPL-2.0 License.