Sign in to follow this  

How can I get the data out of a ID3D10Buffer?

Recommended Posts

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?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this