Function rokol::gfx::append_buffer [−][src]
Expand description
Appends vertices/indices to vertex/index buffer
Requires ResourceUsage::Dynamic
or ResourceUsage::Stream
. This can be called multiple
times per frame.
Returns a byte offset to the start of the written data. The offset can be assgined to
Bindings::vertex_buffer_offsets
or Bindings::index_buffer_offset
.