title: How is updating the indices buffer handled in gfx-rs?
body: <p>The only way I have found that accepts the indices buffer is:</p>
  
  <pre><code>let (vbuf, slice) = factory.create_vertex_buffer(&amp;verts, &amp;indices);
  </code></pre>
  
  <p>This creates a new buffer and I can't do it every frame.</p>
  
  <p>I can update the vertex buffer with <code>encoder.update_buffer(&amp;buf, &amp;data, offset)</code>, but I don't know how to update indices buffer.</p>