[][src]Function meshopt::ffi::meshopt_decodeIndexBuffer

pub unsafe extern "C" fn meshopt_decodeIndexBuffer(
    destination: *mut c_void,
    index_count: usize,
    index_size: usize,
    buffer: *const c_uchar,
    buffer_size: usize
) -> c_int

Index buffer decoder Decodes index data from an array of bytes generated by meshopt_encodeIndexBuffer Returns 0 if decoding was successful, and an error code otherwise The decoder is safe to use for untrusted input, but it may produce garbage data (e.g. out of range indices).

destination must contain enough space for the resulting index buffer (index_count elements)