   [Directx 10] Quick Question About VB's Please!!!
  Hi. I was wondering if it is possible to map vertex data from a list to a vertex buffer, maybe something like this//Lock the buffer mVB->Map(D3D10_MAP_WRITE_NO_OVERWRITE, 0, reinterpret_cast<void**>(&pVert));//Copy the vertex data into the bufferfor(int i=0; i<ListSize; i++) *pVert++ = *mllVertexList.GetByIndex(i);//Unlock the buffermVB->Unmap();Or is it only possible with contiguous storage like arrays?I know arrays are better for this as I could use update subresource or memcpy to update quicker. But my vertex data is dynamic and using a list allows me to track which vertices have been changed and only update them.Thanks[Edited by - Downie on April 30, 2009 2:33:24 PM]