Skip to content

API Reference / @gtkx/gl / drawElements

Function: drawElements() ​

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

Defined in: packages/gl/src/generated/commands.ts:2215

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