pub unsafe extern "C" fn magma_buffer_get_handle(
    buffer: magma_buffer_t,
    handle_out: *mut magma_handle_t
) -> magma_status_t
Expand description

\brief Gets a platform handle for the given buffer. This can be used to perform a CPU mapping of the buffer using the standard syscall. The handle may be released without invalidating such CPU mappings. \param buffer A valid buffer. \param handle_out Pointer to the returned handle.