pub unsafe extern "C" fn meshopt_generateShadowIndexBufferMulti(
    destination: *mut c_uint,
    indices: *const c_uint,
    index_count: usize,
    vertex_count: usize,
    streams: *const meshopt_Stream,
    stream_count: usize
)
Expand description

Generate index buffer that can be used for more efficient rendering when only a subset of the vertex attributes is necessary All vertices that are binary equivalent (wrt specified streams) map to the first vertex in the original vertex buffer. This makes it possible to use the index buffer for Z pre-pass or shadowmap rendering, while using the original index buffer for regular rendering. Note that binary equivalence considers all size bytes in each stream, including padding which should be zero-initialized.

destination must contain enough space for the resulting index buffer (index_count elements) stream_count must be <= 16