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>]) { ... }
fn trim(&mut self) { ... }
}
Available on crate feature Implements
only.
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
Available on crate feature Implements
only.
Free command buffers
§Safety
Application cannot use passed command buffers after this call
Available on crate features Implements
and VK_KHR_maintenance1
only.