Decodes index data from an array of bytes generated by encode_index_buffer
.
The decoder is safe to use for untrusted input, but it may produce garbage
data (e.g. out of range indices).
Decodes vertex data from an array of bytes generated by encode_vertex_buffer
.
The decoder is safe to use for untrusted input, but it may produce garbage data.
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.
Encodes vertex data into an array of bytes that is generally smaller and compresses better
compared to original.