Skip to content

API Reference / @gtkx/gl / drawElementsIndirect

Function: drawElementsIndirect()

drawElementsIndirect(mode, type, indirect): void

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

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

Released under the MPL-2.0 License.