 |
VulkanDeviceWaitForFence Method |
WaitForFence method first checks the status of the fence.
If the status is not signaled, then WaitForFence is called.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntaxpublic bool WaitForFence(
Fence fence,
ulong timeout = 3000000000,
bool resetFence = false
)
Parameters
- fence Fence
- Fence to check and wait
- timeout UInt64 (Optional)
- timeout in nanoseconds (3 seconds by default; when ulong.MaxValue is used, then no timeout is used)
- resetFence Boolean (Optional)
- when true, the fence will be reset after waiting or if it is already signaled (false by default)
Return Value
Booleantrue if WaitForFence was called; false if the fence was already signaled.
See Also