Is it allowed to modify Vertex and Index buffer from other thread?

I am generating meshes dynamically on separate thread. Can I update hardware buffers from other thread.
Basically calling MeshModelPart.Vertex.SetData on another thread?

You can call SetData() from a different thread, but behaviour may be slightly different depending on which graphics API you are using. It should work ok on DirectX. On OpenGL, it will block the secondary thread until the UI thread can get around to doing the SetData operation itself.

1 Like