I know it's easy to copy vertex/index buffer in D3D10 with IDirect3D10::CopyResource(...) interface.
How to do the same work in D3D9? Is there any similar API for this?
I know it's easy to copy vertex/index buffer in D3D10 with IDirect3D10::CopyResource(...) interface.
How to do the same work in D3D9? Is there any similar API for this?
Just lock the vertex/index buffers and memcpy the data from one to the other.