glVertexAttrib
glVertexAttrib is a function in OpenGL that enables the configuration and use of vertex attributes. Vertex attributes are pieces of data, such as position, color, or texture coordinates, that are passed from the application to the vertex shader. The function specifies the index of the vertex attribute to be modified, the number of components it contains, its data type, whether it should be normalized, and the stride and offset for accessing the data within the vertex array.
The index parameter identifies which vertex attribute is being configured. This index corresponds to the attribute
The normalized parameter indicates whether fixed-point data values should be automatically normalized to the range [-1,