pub unsafe fn cmd_set_viewport(&self, command_buffer: CommandBufferHandle,
            first_viewport: u32, viewports: &[Viewport]) {
        self.proc_addr_loader().vk.vkCmdSetViewport(command_buffer.to_raw(),
            first_viewport, viewports.len() as u32, viewports.as_ptr() as *const vks::VkViewport);
    }
/// Sets the viewport on a command buffer.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdSetViewport.html
//
// *PFN_vkCmdSetViewport)(VkCommandBuffer commandBuffer, uint32_t
// firstViewport, uint32_t viewportCount, const VkViewport* pViewports);
Sets the viewport on a command buffer.


Sets the viewport on a command buffer .
pub unsafe fn cmd_set_viewport(&self, command_buffer: CommandBufferHandle,
            first_viewport: u32, viewports: &[Viewport]) {
        self.proc_addr_loader().vk.vkCmdSetViewport(command_buffer.to_raw(),
            first_viewport, viewports.len() as u32, viewports.as_ptr() as *const vks::VkViewport);
    }
pub unsafe fn cmd_set_viewport ( & self , command_buffer : CommandBufferHandle , first_viewport : u32 , viewports : & [ Viewport ] ) { self . proc_addr_loader ( ) . vk . vkCmdSetViewport ( command_buffer . to_raw ( ) , first_viewport , viewports . len ( ) as u32 , viewports . as_ptr ( ) as * const vks :: VkViewport ) ; }
Sets the viewport on a command buffer.
Sets the viewport on a command buffer .
&self
command_buffer
CommandBufferHandle
first_viewport
u32
viewports
&[Viewport]
&self
command_buffer
CommandBufferHandle
first_viewport
u32
viewports
&[Viewport]