UgSemaphore
GPU–GPU synchronization semaphore
It
Thin wrapper around a Vulkan semaphore handle
struct It {
VkSemaphore handle;
};create
Create a semaphore
UgSemaphore.It create(UgContext.It& ctx);Parameters
ctx— Vulkan context
Returns — Initialized semaphore object
destroy
Destroy a semaphore
U0 destroy(UgContext.It& ctx, UgSemaphore.It& semaphore);Parameters
ctx— Vulkan contextsemaphore— Semaphore to destroy