MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / mainLoop

Method mainLoop

cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:1890–1897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1888}
1889
1890void VulkanBaseApp::mainLoop()
1891{
1892 while (!glfwWindowShouldClose(m_window)) {
1893 glfwPollEvents();
1894 drawFrame();
1895 }
1896 vkDeviceWaitIdle(m_device);
1897}
1898
1899void readFile(std::istream &s, std::vector<char> &data)
1900{

Callers 1

mainFunction · 0.45

Calls 1

drawFrameFunction · 0.85

Tested by

no test coverage detected