I\'m new to OpenGL and Graphics Programming. I\'ve been reading a textbook which has been really thorough and well-written so far.However, I\'ve hit a point in the code that
There is no relationship between VertexArray and VBO.
A vertex array allocates the memory in RAM and sends pointer to the API. VBO allocates the memory in the graphics card - system memory has no address for it. If you need to access the vbo data from system you need to copy it from vbo to the system first.
Also, in newer versions of OpenGL, vertex arrays are completely removed (depcrecated in 3.0, removed in 3.1)