Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::vulkan::SurfaceWaitSync Struct Reference

Semaphores a submission must wait on, with the stages that wait applies to. More...

#include "donner/gpu/vulkan/VulkanSwapchain.h"

Public Member Functions

bool empty () const
 Whether there is nothing to wait on.

Public Attributes

std::vector< VkSemaphore > semaphores
 Semaphores to wait on.
std::vector< VkPipelineStageFlags > stages
 Stage each wait applies to, index-matched.

Detailed Description

Semaphores a submission must wait on, with the stages that wait applies to.

A frame comes back from the presentation engine before the engine has necessarily finished reading it, so the first submission that writes the frame waits here rather than assuming the image is free.


The documentation for this struct was generated from the following file: