Attribute.enable

Enable the attribute.

Calls vao.setAttribute(index, buffer.vbo, parameters), which will call glEnableVertexAttribArray and glVertexAttribPointer.

class Attribute
void
enable
(
GLuint index
)

Meta