MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / msgLoop

Method msgLoop

Source/Falcor/Core/Window.cpp:513–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void Window::msgLoop()
514{
515 // Samples often rely on a size change event as part of initialization
516 // This would have happened from a WM_SIZE message when calling ShowWindow on Win32
517 mpCallbacks->handleWindowSizeChange();
518
519 while (!shouldClose())
520 {
521 pollForEvents();
522 mpCallbacks->handleRenderFrame();
523 }
524}
525
526void Window::setWindowPos(int32_t x, int32_t y)
527{

Callers 1

runInternalMethod · 0.80

Calls 2

handleRenderFrameMethod · 0.45

Tested by

no test coverage detected