public static VkResult vkWaitForFences(VkDevice device, ReadOnlySpan <VkFence> fences, VkBool32 waitAll, ulong timeout) { fixed(VkFence *fencesPtr = fences) { return(vkWaitForFences(device, (uint)fences.Length, fencesPtr, waitAll, timeout)); } }
public static VkResult vkWaitForFences(VkDevice device, VkFence fence, VkBool32 waitAll, ulong timeout) { return(vkWaitForFences(device, 1, &fence, waitAll, timeout)); }