glDrawTransformFeedbackInstanced

render multiple instances of primitives using a count derived from a transform feedback object

Signature

glDrawTransformFeedbackInstanced( GLenum ( mode ) , GLuint ( id ) , GLsizei ( primcount ) )-> void
glDrawTransformFeedbackInstanced( mode , id , instancecount )

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.
id
Specifies the name of a transform feedback object from which to retrieve a primitive count.
primcount
Specifies the number of instances of the geometry to render.