Module meshopt_rs::index::buffer
source · [−]Expand description
Index buffer encoding and decoding
Functions
Decodes index data from an array of bytes generated by encode_index_buffer.
Encodes index data into an array of bytes that is generally much smaller (<1.5 bytes/triangle) and compresses better (<1 bytes/triangle) compared to original.
Returns worst case size requirement for encode_index_buffer.