Vertexarrays and transformation

Hello!

I’m planning to do a simple terrain renderer and I’d like to have a grid of vertices in a vertex array. Now say I have 1,000,000 vertices in the array and I want to use maybe a maximum of 5000 of them in my terrain at any time, will OpenGL transform all of them, or only the ones listed in the *indeces?

Osku

Only the ones listed in the indices.