Skip to content

API Reference / @gtkx/gl / drawElementsInstancedBaseVertex

Function: drawElementsInstancedBaseVertex()

drawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex): void

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

void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex)

Provided by GL_VERSION_3_2. Registry note: Reuse ARB_draw_elements_base_vertex Also provided by the GL_ARB_draw_elements_base_vertex extension. Also known as glDrawElementsInstancedBaseVertexEXT, glDrawElementsInstancedBaseVertexOES.

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

Returns

void

Released under the MPL-2.0 License.