Skip to content

API Reference / @gtkx/gl / drawElementsIndirect

Function: drawElementsIndirect() ​

drawElementsIndirect(mode, type, indirect): void

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

void glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect)

Provided by GL_VERSION_4_0. Registry note: Reuse ARB_draw_indirect Also provided by the GL_ARB_draw_indirect extension.

Parameters ​

mode ​

number

PrimitiveType

type ​

number

DrawElementsType

indirect ​

number

GLintptr, byte offset into the bound buffer

Returns ​

void