modern OpenGL, vertex attribute data is stored in a buffer on the GPU.
an OpenGL container used to store generic data, and a vertex
one that stores vertex attributes. VBOs
store per-vertex data that is used by the vertex shader
To use a VBO, one typically applies
the following steps:
revisit our multi-coloured triangle.
going to put all this data into a single VBO, that will look like this: