Framework.MainLoop() Method (MainLoop)

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.

Show: