Original Post
Hi, I recently finished a pong clone and for that the vertex buffer was a fixed size since the number of quads being drawn was constant. Now for tetris the number of quads will change as more blocks appear. I am hoping to make the vertex buffer dynamic, so it changes size as more blocks need to be drawn. To do this i hope to make the block 'objects' contain vertices for their positions. I was wondering how the best way to store the vertices in the object is and how to copy the vertices into the vertex buffer. My apologies if this isn't very clear, i'm new to both programming (using vc express btw) and directx. Thanks in advance.