Skip to content

API Reference / @gtkx/gl / drawElementsBaseVertex

Function: drawElementsBaseVertex()

drawElementsBaseVertex(mode, count, type, indices, basevertex): void

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

void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const void *indices, 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 glDrawElementsBaseVertexEXT, glDrawElementsBaseVertexOES.

Parameters

mode

number

PrimitiveType

count

number

GLsizei

type

number

DrawElementsType

indices

number

GLintptr, byte offset into the bound buffer

basevertex

number

GLint

Returns

void

Released under the MPL-2.0 License.