Skip to content

API Reference / @gtkx/gl / drawElementsInstanced

Function: drawElementsInstanced() ​

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

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

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

Provided by GL_VERSION_3_1. Also known as glDrawElementsInstancedANGLE, glDrawElementsInstancedARB, glDrawElementsInstancedEXT, glDrawElementsInstancedNV.

Parameters ​

mode ​

number

PrimitiveType

count ​

number

GLsizei

type ​

number

DrawElementsType

indices ​

number

GLintptr, byte offset into the bound buffer

instancecount ​

number

GLsizei

Returns ​

void