pub unsafe fn cmd_wait_events(&self, command_buffer: CommandBufferHandle,
            events: &[EventHandle],
            src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags,
            memory_barriers: &[MemoryBarrier],
            buffer_memory_barriers: &[BufferMemoryBarrier],
            image_memory_barriers: &[ImageMemoryBarrier]) {
        self.proc_addr_loader().vk.vkCmdWaitEvents(command_buffer.to_raw(),
            events.len() as u32, events.as_ptr() as *const vks::VkEvent,
            src_stage_mask.bits(), dst_stage_mask.bits(),
            memory_barriers.len() as u32, memory_barriers.as_ptr() as *const vks::VkMemoryBarrier,
            buffer_memory_barriers.len() as u32,
            buffer_memory_barriers.as_ptr() as *const vks::VkBufferMemoryBarrier,
            image_memory_barriers.len() as u32,
            image_memory_barriers.as_ptr() as *const vks::VkImageMemoryBarrier,
        );
    }
/// Waits for one or more events and insert a set of memory.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdWaitEvents.html
//
// *PFN_vkCmdWaitEvents)(VkCommandBuffer commandBuffer, uint32_t
// eventCount, const VkEvent* pEvents, VkPipelineStageFlags srcStageMask,
// VkPipelineStageFlags dstStageMask, uint32_t memoryBarrierCount, const
// VkMemoryBarrier* pMemoryBarriers, uint32_t bufferMemoryBarrierCount,
// const VkBufferMemoryBarrier* pBufferMemoryBarriers, uint32_t
// imageMemoryBarrierCount, const VkImageMemoryBarrier*
// pImageMemoryBarriers);
Waits for one or more events and insert a set of memory.


Waits for one or more events and insert a set of memory .
pub unsafe fn cmd_wait_events(&self, command_buffer: CommandBufferHandle,
            events: &[EventHandle],
            src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags,
            memory_barriers: &[MemoryBarrier],
            buffer_memory_barriers: &[BufferMemoryBarrier],
            image_memory_barriers: &[ImageMemoryBarrier]) {
        self.proc_addr_loader().vk.vkCmdWaitEvents(command_buffer.to_raw(),
            events.len() as u32, events.as_ptr() as *const vks::VkEvent,
            src_stage_mask.bits(), dst_stage_mask.bits(),
            memory_barriers.len() as u32, memory_barriers.as_ptr() as *const vks::VkMemoryBarrier,
            buffer_memory_barriers.len() as u32,
            buffer_memory_barriers.as_ptr() as *const vks::VkBufferMemoryBarrier,
            image_memory_barriers.len() as u32,
            image_memory_barriers.as_ptr() as *const vks::VkImageMemoryBarrier,
        );
    }
pub unsafe fn cmd_wait_events ( & self , command_buffer : CommandBufferHandle , events : & [ EventHandle ] , src_stage_mask : PipelineStageFlags , dst_stage_mask : PipelineStageFlags , memory_barriers : & [ MemoryBarrier ] , buffer_memory_barriers : & [ BufferMemoryBarrier ] , image_memory_barriers : & [ ImageMemoryBarrier ] ) { self . proc_addr_loader ( ) . vk . vkCmdWaitEvents ( command_buffer . to_raw ( ) , events . len ( ) as u32 , events . as_ptr ( ) as * const vks :: VkEvent , src_stage_mask . bits ( ) , dst_stage_mask . bits ( ) , memory_barriers . len ( ) as u32 , memory_barriers . as_ptr ( ) as * const vks :: VkMemoryBarrier , buffer_memory_barriers . len ( ) as u32 , buffer_memory_barriers . as_ptr ( ) as * const vks :: VkBufferMemoryBarrier , image_memory_barriers . len ( ) as u32 , image_memory_barriers . as_ptr ( ) as * const vks :: VkImageMemoryBarrier , ) ; }
Waits for one or more events and insert a set of memory.
Waits for one or more events and insert a set of memory .
&self
command_buffer
CommandBufferHandle
events
&[EventHandle]
src_stage_mask
PipelineStageFlags
dst_stage_mask
PipelineStageFlags
memory_barriers
&[MemoryBarrier]
buffer_memory_barriers
&[BufferMemoryBarrier]
image_memory_barriers
&[ImageMemoryBarrier]
&self
command_buffer
CommandBufferHandle
events
&[EventHandle]
src_stage_mask
PipelineStageFlags
dst_stage_mask
PipelineStageFlags
memory_barriers
&[MemoryBarrier]
buffer_memory_barriers
&[BufferMemoryBarrier]
image_memory_barriers
&[ImageMemoryBarrier]