Function wgpu_core::device::map_buffer

source ยท
fn map_buffer(
    raw: &dyn DynDevice,
    buffer: &Buffer,
    offset: BufferAddress,
    size: BufferAddress,
    kind: HostMap,
    snatch_guard: &SnatchGuard<'_>,
) -> Result<BufferMapping, BufferAccessError>