pub fn present(
        self,
        command_buffers: &[vk::CommandBuffer],
    ) -> VkResult<()> {
        let result = self.do_present(command_buffers);
        self.result_tx.send(result).unwrap();
        result
    }
// submit the given command buffers and preset the swapchain image for this frame
submit the given command buffers and preset the swapchain image for this frame
submit the given command buffers and preset the swapchain image for this frame
pub fn present(
        self,
        command_buffers: &[vk::CommandBuffer],
    ) -> VkResult<()> {
        let result = self.do_present(command_buffers);
        self.result_tx.send(result).unwrap();
        result
    }
pub fn present ( self , command_buffers : & [ vk :: CommandBuffer ] , ) -> VkResult < ( ) > { let result = self . do_present ( command_buffers ) ; self . result_tx . send ( result ) . unwrap ( ) ; result }
submit the given command buffers and preset the swapchain image for this frame
submit the given command buffers and preset the swapchain image for this frame
self
command_buffers
&[vk::CommandBuffer]
self
command_buffers
&[vk::CommandBuffer]