glVertexAttribPointerin
glVertexAttribPointer is a function in OpenGL that specifies the format and location of vertex attribute data within a vertex buffer object. It is used to configure how the graphics pipeline should interpret the data provided for attributes like vertex positions, normals, texture coordinates, and colors. The function takes several arguments: the index of the attribute, the number of components per vertex attribute, the data type of each component, whether to normalize the data, the stride (the byte offset between consecutive vertices), and the offset within the buffer to the first component of the attribute.
The index parameter corresponds to the attribute location, which is typically set using glBindAttribLocation or obtained
The stride parameter defines the number of bytes between the start of one vertex's data and the