Function meshopt::encoding::decode_vertex_buffer[][src]

pub fn decode_vertex_buffer<T: Clone + Default>(
    encoded: &[u8],
    vertex_count: usize
) -> Result<Vec<T>>

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.