Ejemplo n.º 1
0
 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));
     }
 }
Ejemplo n.º 2
0
 public static VkResult vkWaitForFences(VkDevice device, VkFence fence, VkBool32 waitAll, ulong timeout)
 {
     return(vkWaitForFences(device, 1, &fence, waitAll, timeout));
 }