MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / mainLoop

Method mainLoop

src/Renderer/vkRenderer.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void vkRenderer::mainLoop() {
98 while (!glfwWindowShouldClose(window)) {
99 glfwPollEvents();
100
101 updateUniformBuffer();
102 drawFrame();
103 }
104
105 vkDeviceWaitIdle(device);
106}
107
108void vkRenderer::cleanupSwapChain() {
109 for (auto framebuffer : swapChainFramebuffers) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected