Function meshopt::ffi::meshopt_remapVertexBuffer [−][src]
pub unsafe extern "C" fn meshopt_remapVertexBuffer(
destination: *mut c_void,
vertices: *const c_void,
vertex_count: usize,
vertex_size: usize,
remap: *const c_uint
)
Generates vertex buffer from the source vertex buffer and remap table generated by meshopt_generateVertexRemap
destination must contain enough space for the resulting vertex buffer (unique_vertex_count elements, returned by meshopt_generateVertexRemap) vertex_count should be the initial vertex count and not the value returned by meshopt_generateVertexRemap