public void Submit(CommandBuffer buffer, Semaphore wait, VkPipelineStageFlag waitStage, Semaphore signal, Fence submit) { wait?.AssertValid(); signal?.AssertValid(); submit?.AssertValid(); Submit(buffer, wait?.Handle, waitStage, signal?.Handle, submit?.Handle); }
public uint AcquireNextImage(Semaphore semaphore, Fence fence, ulong timeout = ulong.MaxValue) { semaphore?.AssertValid(); fence?.AssertValid(); return(AcquireNextImage(semaphore?.Handle ?? VkSemaphore.Null, fence?.Handle ?? VkFence.Null, timeout)); }