How can I get the data out of a ID3D10Buffer?
Well I'm trying to create a function that saves my mesh class out to a file but I need to get the data back out of the vertex and index buffers. I'm not sure how to do it, it looks like there are two possible ways, GetPrivateData or Mapping the buffer but I only know how to map a texture so I'm unclear on how to use that command if that's even what I need to do.
So can someone show me how to get the data back out of a ID3D10Buffer?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement