API Reference / @gtkx/gl / drawElementsInstancedBaseInstance
Function: drawElementsInstancedBaseInstance()
drawElementsInstancedBaseInstance(
mode,count,type,indices,instancecount,baseinstance):void
Defined in: generated/commands.d.ts:1842
void glDrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance)
Provided by GL_VERSION_4_2. Registry note: Reuse commands from ARB_base_instance Also provided by the GL_ARB_base_instance extension. Also known as glDrawElementsInstancedBaseInstanceEXT.
Parameters
mode
number
PrimitiveType
count
number
GLsizei
type
number
DrawElementsType
indices
number
GLintptr, byte offset into the bound buffer
instancecount
number
GLsizei
baseinstance
number
GLuint
Returns
void