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

Method present

framework/core/queue.cpp:90–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90VkResult Queue::present(const VkPresentInfoKHR &present_info) const
91{
92 if (!can_present)
93 {
94 return VK_ERROR_INCOMPATIBLE_DISPLAY_KHR;
95 }
96
97 return vkQueuePresentKHR(handle, &present_info);
98} // namespace vkb
99
100VkResult Queue::wait_idle() const
101{

Callers 3

submit_frameMethod · 0.45
submit_frameMethod · 0.45
end_frameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected