MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / RunMainLoop

Method RunMainLoop

samples/hellovr_vulkan/hellovr_vulkan_main.cpp:1649–1664  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1647// Purpose:
1648//-----------------------------------------------------------------------------
1649void CMainApplication::RunMainLoop()
1650{
1651 bool bQuit = false;
1652
1653 SDL_StartTextInput();
1654 SDL_ShowCursor( SDL_DISABLE );
1655
1656 while ( !bQuit )
1657 {
1658 bQuit = HandleInput();
1659
1660 RenderFrame();
1661 }
1662
1663 SDL_StopTextInput();
1664}
1665
1666//-----------------------------------------------------------------------------
1667// Purpose: Processes a single VR event

Callers 1

mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected