Most efficient way to update vertex buffer?

I see something in this thread @Deltakosh
Perhaps that’s my answer? :grinning:

In which case, question

  1. Does it have to be set to updatable first on creation? From line it seems to be the case
  2. If I want to update e.g. 10 non-contiguous vertices, do I loop the vertices and run updateDirectly 10 times (one per vertex) and would this affect performance