Directx10 Map(), or UpdateSubresouce()

Started by
3 comments, last by XVincentX 15 years, 9 months ago
I currently have a dynamic buffer, which holds data like instances information. Which method should I use to populate my ID3D10Buffer: Map(), or UpdateSubresource()?
Advertisement
Dynamic buffers are always filled with Map/Unmap. UpdateSubresource is used for default resources.
if your data is laid exactly the way the resource stores it, use ID3D10Device::UpdateSubresource, otherwise, use a Map method.
Quote:
if your data is laid exactly the way the resource stores it, use ID3D10Device::UpdateSubresource, otherwise, use a Map method.


What do you mean by laid exactly the way the resource stores it?
I do not know :D
I make a copy-paste from Direct3D10 documentation.

I can't understand the phrase, but i thought it was a my problem for bad english.

This topic is closed to new replies.

Advertisement