Function wgpu_core::device::map_buffer

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