I noticed on all the tutorials you create the vertexbuffer the number of vetices times the size of the class why is this so why woudent you create the VertexBuffer just the size of the class holding your points to draw?
so i made a program to understand why you would need all this extra memory but i still cant firgure it out.
Please explain this to me is there something im not seeing or is this just a waste of memory.
using namespace std;
VertexBuffer VBuffer =
cout << "buffer size : " << sizeof(VBuffer) <<endl;
cout << "Seven times Buffer size : " << sizeof(VBuffer)*5 <<endl;