| 1 | //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_present_wait.html> |
| 2 | |
| 3 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::preluderust-analyzer cargo ash 0.38.0+1.3.281 prelude/::*; |
| 4 | use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/; |
| 5 | |
| 6 | impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/::present_waitrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/present_wait/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/present_wait/Device# { |
| 7 | /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkWaitForPresentKHR.html> |
| 8 | #[inline] |
| 9 | pub unsafe fn wait_for_presentrust-analyzer cargo ash 0.38.0+1.3.281 extensions/khr/present_wait/impl#[`crate::khr::present_wait::Device`]wait_for_present().( |
| 10 | &self, |
| 11 | swapchain: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SwapchainKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SwapchainKHR#, |
| 12 | present_id: u64, |
| 13 | timeout: u64, |
| 14 | ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> { |
| 15 | (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/present_wait/Device#fp..wait_for_present_khrrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/present_wait/DeviceFn#wait_for_present_khr.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/khr/present_wait/Device#handle., swapchain, present_id, timeout).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().() |
| 16 | } |
| 17 | } |