pub unsafe fn queue_submit<Q>(&self, queue: Q, submit_info: &[SubmitInfo],
            fence: Option<FenceHandle>) -> VdResult<()>
            where Q: Handle<Target=QueueHandle> {
        let fence_handle_raw = fence.map(|f| f.to_raw()).unwrap_or(0);
        let result = self.proc_addr_loader().vk.vkQueueSubmit(queue.handle().to_raw(),
            submit_info.len() as u32, submit_info.as_ptr() as *const vks::VkSubmitInfo,
            fence_handle_raw);
        error::check(result, "vkQueueSubmit", ())
    }
/// Submits a sequence of semaphores or command buffers to a queue.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkQueueSubmit.html
//
// *PFN_vkQueueSubmit)(VkQueue queue, uint32_t submitCount, const
// VkSubmitInfo* pSubmits, VkFence fence);
//
// queue is the queue that the command buffers will be submitted to.
//
// submitCount is the number of elements in the pSubmits array.
//
// pSubmits is a pointer to an array of VkSubmitInfo structures, each
// specifying a command buffer submission batch.
//
// fence is an optional handle to a fence to be signaled. If fence is not
// VK_NULL_HANDLE, it defines a fence signal operation.
Submits a sequence of semaphores or command buffers to a queue.



queue is the queue that the command buffers will be submitted to.

submitCount is the number of elements in the pSubmits array.

pSubmits is a pointer to an array of VkSubmitInfo structures, each
specifying a command buffer submission batch.

fence is an optional handle to a fence to be signaled. If fence is not
VK_NULL_HANDLE, it defines a fence signal operation.
Submits a sequence of semaphores or command buffers to a queue . queue is the queue that the command buffers will be submitted to . submitCount is the number of elements in the pSubmits array . pSubmits is a pointer to an array of VkSubmitInfo structures each specifying a command buffer submission batch . fence is an optional handle to a fence to be signaled . If fence is not VK_NULL_HANDLE it defines a fence signal operation .
pub unsafe fn queue_submit<Q>(&self, queue: Q, submit_info: &[SubmitInfo],
            fence: Option<FenceHandle>) -> VdResult<()>
            where Q: Handle<Target=QueueHandle> {
        let fence_handle_raw = fence.map(|f| f.to_raw()).unwrap_or(0);
        let result = self.proc_addr_loader().vk.vkQueueSubmit(queue.handle().to_raw(),
            submit_info.len() as u32, submit_info.as_ptr() as *const vks::VkSubmitInfo,
            fence_handle_raw);
        error::check(result, "vkQueueSubmit", ())
    }
pub unsafe fn queue_submit < Q > ( & self , queue : Q , submit_info : & [ SubmitInfo ] , fence : Option < FenceHandle > ) -> VdResult < ( ) > where Q : Handle < Target = QueueHandle > { let fence_handle_raw = fence . map ( | f | f . to_raw ( ) ) . unwrap_or ( 0 ) ; let result = self . proc_addr_loader ( ) . vk . vkQueueSubmit ( queue . handle ( ) . to_raw ( ) , submit_info . len ( ) as u32 , submit_info . as_ptr ( ) as * const vks :: VkSubmitInfo , fence_handle_raw ) ; error :: check ( result , " " , ( ) ) }
Submits a sequence of semaphores or command buffers to a queue.
Submits a sequence of semaphores or command buffers to a queue .
&self
queue
Q
submit_info
&[SubmitInfo]
fence
Option<FenceHandle>
&self
queue
Q
submit_info
&[SubmitInfo]
fence
Option<FenceHandle>