Function TRAP::Graphics::API::VulkanInits::PresentInfo#

Function Documentation#

constexpr VkPresentInfoKHR TRAP::Graphics::API::VulkanInits::PresentInfo(std::span<const VkSemaphore> waitSemaphores, const VkSwapchainKHR &swapChain, const u32 &presentIndex) noexcept#

Create a Vulkan present info.

Parameters:
  • waitSemaphores – Vulkan semaphore(s) to wait on.

  • swapChain – Vulkan swapchain to present.

  • presentIndex – Vulkan swapchain image index to present.

Returns:

VkPresentInfoKHR.