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

Method mainLoop

cpp/5_Domain_Specific/simpleVulkanMMAP/VulkanBaseApp.cpp:1778–1785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1776}
1777
1778void VulkanBaseApp::mainLoop()
1779{
1780 while (!glfwWindowShouldClose(m_window)) {
1781 glfwPollEvents();
1782 drawFrame();
1783 }
1784 vkDeviceWaitIdle(m_device);
1785}
1786
1787void readFile(std::istream &s, std::vector<char> &data)
1788{

Callers 1

mainFunction · 0.45

Calls 1

drawFrameFunction · 0.85

Tested by

no test coverage detected