Skip to main content

flush

Function flush 

Source
pub unsafe fn flush(
    allocator: &Allocator<'_>,
    allocation: &Allocation,
    offset: u64,
    size: u64,
) -> Result<(), AllocError>
Expand description

Flush a bounded allocation-relative mapped range, observing atom/end rules.

§Safety

Follow Vulkan’s host/device synchronization and mapping requirements.