Function vulkano::command_buffer::submit [] [src]

pub fn submit(cmd: &Arc<PrimaryCommandBuffer>, queue: &Arc<Queue>) -> Result<Arc<Submission>, OomError>

Submits the command buffer to a queue so that it is executed.

Fences and semaphores are automatically handled.

Panic

  • Panicks if the queue doesn't belong to the device this command buffer was created with.
  • Panicks if the queue doesn't belong to the family the pool was created with.