Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Starts the main execution loop of the sample framework.
Definition
Visual Basic Public Sub MainLoop() C# public void MainLoop(); C++ public:
void MainLoop();JScript public function MainLoop();
Remarks
This method starts the message loop that will run for the lifetime of the application. During execution, MainLoop calls the registered callback functions to inform the application of input events and to trigger resource management and render calls.