• Advertisement
Sign in to follow this  

Acquire vertex buffer

This topic is 1799 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone , I want to acquire vertex buffer's data, and copy the data to new model. I try to use GetPrivateData, but I cant understand what is 1st param - const GUID& ? How can I know the data's guid ?

Share this post


Link to post
Share on other sites
Advertisement

GetPrivateData is not the call you're looking for - it's not used for this kind of operation at all.  Depending on the buffer's usage and CPU access flags, you can use one of Map or CopyResource to do this.

Share this post


Link to post
Share on other sites

GetPrivateData is not the call you're looking for - it's not used for this kind of operation at all.  Depending on the buffer's usage and CPU access flags, you can use one of Map or CopyResource to do this.

 

Thank you ! That's the answer I really waiting for ! But what data dus GetPrivateData() truely acquire ?

Edited by zonozz

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement