flecs_sparse_get

Function flecs_sparse_get 

Source
pub unsafe extern "C" fn flecs_sparse_get(
    sparse: *const ecs_sparse_t,
    elem_size: ecs_size_t,
    id: u64,
) -> *mut c_void
Expand description

Get element by (sparse) id. The returned pointer is stable for the duration of the sparse set, as it is stored in the sparse array.