Cooresponding CopyResource method in D3D9
I know it's easy to copy ve开发者_如何转开发rtex/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.
精彩评论