wgpu_core::device

Function map_buffer

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