Skip to main content

free_command_buffers

Function free_command_buffers 

Source
pub unsafe fn free_command_buffers(
    device: &Device,
    pool: CommandPool,
    buffers: &[CommandBuffer],
) -> Result<(), CallError>
Expand description

Free command buffers back to their pool.

ยงSafety

All buffers must have finished execution on the GPU.

Khronos reference: vkFreeCommandBuffers