Skip to content

API Reference / @gtkx/gl / multiDrawElements

Function: multiDrawElements() ​

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

Defined in: packages/gl/src/generated/commands.ts:4930

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

Provided by GL_VERSION_1_4. Also known as glMultiDrawElementsEXT.

Parameters ​

mode ​

number

PrimitiveType

count ​

number[] | Int32Array<ArrayBufferLike>

GLsizei[] | Int32Array, length drawcount

type ​

number

DrawElementsType

indices ​

number[]

GLintptr[], byte offsets into the bound buffer

drawcount ​

number

GLsizei

Returns ​

void