How can I get the data out of a ID3D10Buffer?

Started by
0 comments, last by CodaKiller 15 years, 4 months ago
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?
Remember Codeka is my alternate account, just remember that!
Advertisement
Never mind I figured it out form a post on here.

[Edited by - CodaKiller on December 20, 2008 8:35:04 AM]
Remember Codeka is my alternate account, just remember that!

This topic is closed to new replies.

Advertisement