glDrawArraysIndirect

render primitives from array data, taking parameters from memory

Signature

glDrawArraysIndirect( GLenum ( mode ) , const void *( indirect ) )-> void
glDrawArraysIndirect( mode , indirect )

Parameters

VariablesDescription
mode
Specifies what kind of primitives to render. Symbolic constants GL_POINTS , GL_LINE_STRIP , GL_LINE_LOOP , GL_LINES , GL_LINE_STRIP_ADJACENCY , GL_LINES_ADJACENCY , GL_TRIANGLE_STRIP , GL_TRIANGLE_FAN , GL_TRIANGLES , GL_TRIANGLE_STRIP_ADJACENCY , GL_TRIANGLES_ADJACENCY , and GL_PATCHES are accepted.
indirect
Specifies the address of a structure containing the draw parameters.