Skip to content

API Reference / @gtkx/gl / drawElements

Function: drawElements()

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

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

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

Provided by GL_VERSION_1_1.

Parameters

mode

number

GLenum, group PrimitiveType

count

number

GLsizei

type

number

GLenum, group DrawElementsType

indices

number

const void *, length COMPSIZE(count,type)

Returns

void

See

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

Released under the MPL-2.0 License.