The OpenGL wrapper.
Space to store vertices in (we need to store a copy of all vertex data in RAM to allow easy modification). Determines the maximum number of vertices the VertexArray can hold. The VertexArray will not deallocate this space when destroyed; the caller must take care of that.
Construct a VertexArray.