Framework.MainLoop Method |
Language: |
Starts the main execution loop of the sample framework.
Visual Basic Public Sub MainLoop() C# public void MainLoop(); C++ public:
void MainLoop();JScript public function MainLoop();
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center