From what I understood (from reading various pages) there are 2 ways to update a buffer:
UpdateSubresource()(when buffer is created with
Map(), copy the new data,
Unmap()(when buffer is created with
In the first case do I only call this one function (nothing more)? Because I've seen people say they map the buffer and then update subresource, or maybe I misunderstood them.
Also is there any other way (doubt it :P)? Do I understand things correctly?