Skip to content

API Reference / @gtkx/gl / drawElementsInstancedBaseInstance

Function: drawElementsInstancedBaseInstance()

drawElementsInstancedBaseInstance(mode, count, type, indices, instancecount, baseinstance): void

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

void glDrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance)

Provided by GL_VERSION_4_2.

Parameters

mode

number

GLenum, group PrimitiveType

count

number

GLsizei

type

number

GLenum, group DrawElementsType

indices

number

const void *, length count

instancecount

number

GLsizei

baseinstance

number

GLuint

Returns

void

See

https://registry.khronos.org/OpenGL-Refpages/gl4/html/glDrawElementsInstancedBaseInstance.xhtml

Released under the MPL-2.0 License.