MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / reset

Method reset

framework/fence_pool.cpp:79–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79VkResult FencePool::reset()
80{
81 if (active_fence_count < 1 || fences.empty())
82 {
83 return VK_SUCCESS;
84 }
85
86 VkResult result = vkResetFences(device.get_handle(), active_fence_count, fences.data());
87
88 if (result != VK_SUCCESS)
89 {
90 return result;
91 }
92
93 active_fence_count = 0;
94
95 return VK_SUCCESS;
96}
97} // namespace vkb

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
get_handleMethod · 0.45

Tested by

no test coverage detected