Signature
Parameters
Variables | Description |
---|---|
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.
|
type |
Specifies the type of data in the buffer bound to the
GL_ELEMENT_ARRAY_BUFFER
binding.
|
indirect |
Specifies the address of a structure containing an array of draw parameters.
|
drawcount |
Specifies the number of elements in the array addressed by
indirect
.
|
stride |
Specifies the distance in basic machine units between elements of the draw parameter array.
|