pub unsafe fn cmd_clear_attachments(&self, command_buffer: CommandBufferHandle,
            attachments: &[ClearAttachment], rects: &[ClearRect]) {
        self.proc_addr_loader().vk.vkCmdClearAttachments(command_buffer.to_raw(),
            attachments.len() as u32, attachments.as_ptr() as *const vks::VkClearAttachment,
            rects.len() as u32, rects.as_ptr() as *const vks::VkClearRect);
    }
/// Clears regions within currently bound framebuffer attachments.
///
/// https://www.khronos.org/registry/vulkan/specs/1.0/man/html/vkCmdClearAttachments.html
//
// *PFN_vkCmdClearAttachments)(VkCommandBuffer commandBuffer, uint32_t
// attachmentCount, const VkClearAttachment* pAttachments, uint32_t
// rectCount, const VkClearRect* pRects);
Clears regions within currently bound framebuffer attachments.


Clears regions within currently bound framebuffer attachments .
pub unsafe fn cmd_clear_attachments(&self, command_buffer: CommandBufferHandle,
            attachments: &[ClearAttachment], rects: &[ClearRect]) {
        self.proc_addr_loader().vk.vkCmdClearAttachments(command_buffer.to_raw(),
            attachments.len() as u32, attachments.as_ptr() as *const vks::VkClearAttachment,
            rects.len() as u32, rects.as_ptr() as *const vks::VkClearRect);
    }
pub unsafe fn cmd_clear_attachments ( & self , command_buffer : CommandBufferHandle , attachments : & [ ClearAttachment ] , rects : & [ ClearRect ] ) { self . proc_addr_loader ( ) . vk . vkCmdClearAttachments ( command_buffer . to_raw ( ) , attachments . len ( ) as u32 , attachments . as_ptr ( ) as * const vks :: VkClearAttachment , rects . len ( ) as u32 , rects . as_ptr ( ) as * const vks :: VkClearRect ) ; }
Clears regions within currently bound framebuffer attachments.
Clears regions within currently bound framebuffer attachments .
&self
command_buffer
CommandBufferHandle
attachments
&[ClearAttachment]
rects
&[ClearRect]
&self
command_buffer
CommandBufferHandle
attachments
&[ClearAttachment]
rects
&[ClearRect]