glEnableVertexAttribArray

glEnableVertexAttribArray: man2/glEnableVertexAttribArray.xml

glEnableVertexAttribArray enables the generic vertex attribute array specified by index. glDisableVertexAttribArray disables the generic vertex attribute array specified by index. By default, all client-side capabilities are disabled, including all generic vertex attribute arrays. If enabled, the values in the generic vertex attribute array will be accessed and used for rendering when calls are made to vertex array commands such as glDrawArrays, glDrawElements, glDrawRangeElements, glArrayElement, glMultiDrawElements, or glMultiDrawArrays.

glEnableVertexAttribArray and glDisableVertexAttribArray are available only if the GL version is 2.0 or greater.

@OpenGL_Version(OGLIntroducedIn.V2P0)
fn_glEnableVertexAttribArray glEnableVertexAttribArray;

See Also

glArrayElement, glBindAttribLocation, glDrawArrays, glDrawElements, glDrawRangeElements, glMultiDrawElements, glPopClientAttrib, glPushClientAttrib, glVertexAttrib, glVertexAttribPointer

Meta