API Reference / @gtkx/gl / drawElementsInstanced
Function: drawElementsInstanced()
drawElementsInstanced(
mode,count,type,indices,instancecount):void
Defined in: generated/commands.d.ts:1826
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