Original Post
I stored all of vertices to VertexBuffer as below:
g_pVB->Lock(0, sizeof(src_v), (BYTE**)&pVertices, 0 );
memcpy(pVertices, src_v, num_indices_accum * sizeof(D3DVERTEX));
g_pVB->Unlock();
Then, I want to know.
How to load this vertices??
I tried this:
g_pVB->Lock(0, sizeof(src_v), (BYTE**)&pVertices, D3DLOCK_READONLY );
Then ,I don''t know.
What should I do next?
Thanks,