#memory-buffer #data #slice #index-buffer #growing #vec #web-glitz

web-glitz-buffer-vec

Implements growing WebGlitz memory buffers for slices of data

4 releases

0.2.1 May 31, 2021
0.2.0 Nov 2, 2020
0.1.1 Oct 25, 2020
0.1.0 Sep 28, 2020

#2429 in Algorithms

MIT license

19KB
172 lines

WebGlitz Buffer Vec

Implements growing web-glitz memory buffers for slices of data. Buffers are automatically reallocated on update when the length of the new data exceeds the current capacity of the buffer.

Licence

MIT


lib.rs:

Implements growing web-glitz memory buffers for slices of data. Buffers are automatically reallocated on update when the length of the new data exceeds the current capacity of the buffer.

For generic data, see [BufferVec]. For data that may be bound as vertex index data in draw tasks, see [IndexBufferVec].

Dependencies

~12MB
~241K SLoC