Open baehny opened 6 years ago
The wrapping method for vkGetFenceStatus (Vulkan Specs) looks like this:
public void GetFenceStatus (Fence fence) { Result result; unsafe { result = Interop.NativeMethods.vkGetFenceStatus (this.m, fence != null ? fence.m : default(UInt64)); if (result != Result.Success) throw new ResultException (result); } }
Source File
The return type VkResult is wrapped to throw an exception if the result is not VK_SUCCESS so we have to throw and catch the exception everytime we want to get the fence status.
The wrapping method for vkGetFenceStatus (Vulkan Specs) looks like this:
public void GetFenceStatus (Fence fence) { Result result; unsafe { result = Interop.NativeMethods.vkGetFenceStatus (this.m, fence != null ? fence.m : default(UInt64)); if (result != Result.Success) throw new ResultException (result); } }
Source File
The return type VkResult is wrapped to throw an exception if the result is not VK_SUCCESS so we have to throw and catch the exception everytime we want to get the fence status.