Skip to content

FiniteRenderPresentInfo

The FiniteRenderPresentInfo struct is used to describe the information needed when presenting rendered images to a Vulkan swapchain.

struct FiniteRenderPresentInfo {
const void *next;
uint32_t _waitSemaphores;
const VkSemaphore *waitSemaphores;
uint32_t _swapchains;
const VkSwapchainKHR *swapchains;
const uint32_t *imageIndices;
VkResult *results;
};
TypeDescription
const void *nextPointer to next structure in Vulkan chain (usually NULL).
uint32_t _waitSemaphoresNumber of semaphores to wait on before presenting.
const VkSemaphore *waitSemaphoresArray of semaphores that must be signaled before presentation.
uint32_t _swapchainsNumber of swapchains to present to.
const VkSwapchainKHR *swapchainsArray of Vulkan swapchains to present rendered images.
const uint32_t *imageIndicesArray of image indices in the swapchains to present.
VkResult *resultsArray to store results for each swapchain presentation operation.

This struct should be created with finite_render_find_queue_families.