Skip to content

API Reference / @gtkx/gl / drawElementsInstancedBaseVertexBaseInstance

Function: drawElementsInstancedBaseVertexBaseInstance()

drawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, instancecount, basevertex, baseinstance): void

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

void glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, 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 glDrawElementsInstancedBaseVertexBaseInstanceEXT.

Parameters

mode

number

PrimitiveType

count

number

GLsizei

type

number

DrawElementsType

indices

number

GLintptr, byte offset into the bound buffer

instancecount

number

GLsizei

basevertex

number

GLint

baseinstance

number

GLuint

Returns

void

Released under the MPL-2.0 License.