Skip to main content

unmap_memory

Function unmap_memory 

Source
pub unsafe fn unmap_memory(
    device: &Device,
    memory: DeviceMemory,
) -> Result<(), CallError>
Expand description

Unmap a previously mapped memory object.

ยงSafety

memory must currently be mapped and must not be used from host after this call.

Khronos reference: vkUnmapMemory