Skip to content

API Reference / @gtkx/gl / drawElementsInstanced

Function: drawElementsInstanced()

drawElementsInstanced(mode, count, type, indices, instancecount): void

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

void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount)

Provided by GL_VERSION_3_1.

Parameters

mode

number

GLenum, group PrimitiveType

count

number

GLsizei

type

number

GLenum, group DrawElementsType

indices

number

const void *, length COMPSIZE(count,type)

instancecount

number

GLsizei

Returns

void

See

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

Released under the MPL-2.0 License.