Skip to main content

bind_buffer_memory2_khr

Function bind_buffer_memory2_khr 

Source
pub unsafe fn bind_buffer_memory2_khr(
    device: &Device,
    bind_infos: &[BindBufferMemoryInfo<'_>],
) -> Result<(), CallError>
Expand description

Call vkBindBufferMemory2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkBindBufferMemory2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Khronos reference: vkBindBufferMemory2KHR