Trait CommandPoolMut
Source pub trait CommandPoolMut: CommandPool + VkHandleMut {
// Provided methods
unsafe fn reset(&mut self, flags: CommandPoolResetFlags) -> Result<()> { ... }
unsafe fn free(&mut self, buffers: &[VkHandleRefMut<'_, VkCommandBuffer>]) { ... }
}
Resets a command pool
§Safety
Application cannot use command buffers after this call
§Failures
On failure, this command returns
VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
Free command buffers
§Safety
Application cannot use passed command buffers after this call