# glVertexAttribPointer ## Metadata **Status**:: #x **Zettel**:: #zettel/fleeting **Created**:: [[2024-08-06]] **Topic**:: [[♯ OpenGL]] **URL**:: [khronos.org](https://registry.khronos.org/OpenGL-Refpages/gl4/html/glVertexAttribPointer.xhtml) ## Synopsis ```c void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void * pointer); ``` - `index`: Vertex shader input variable index ## Effects - The VAO is bound to the current VBO, which can get checked with `glGetVertexAttrib` with `GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING`.