Use of Vertex Array Objects and Vertex Buffer Objects
Fundamentally, you need to understand two things: Vertex Array Objects (VAOs) are conceptually nothing but thin state wrappers. Vertex Buffer Objects (VBOs) store actual data. Another way of thinking about this is that VAOs describe the data stored in one or more VBOs. Think of VBOs (and buffer objects in general) as unstructured arrays of … Read more