Function meshopt::remap::remap_index_buffer[][src]

pub fn remap_index_buffer(
    indices: Option<&[u32]>,
    vertex_count: usize,
    remap: &[u32]
) -> Vec<u32>

Generate index buffer from the source index buffer and remap table generated by generate_vertex_remap.

indices can be None if the input is unindexed.