Skip to content

API Reference / @gtkx/gl / drawElements

Function: drawElements()

drawElements(mode, count, type, indices): void

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

void glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices)

Provided by GL_VERSION_1_1.

Parameters

mode

number

PrimitiveType

count

number

GLsizei

type

number

DrawElementsType

indices

number

GLintptr, byte offset into the bound buffer

Returns

void

Released under the MPL-2.0 License.