![]() |
![]() |
![]() |
Framework.MainLoop Method |
Language: |
Starts the main execution loop of the sample framework.
Visual Basic .NET Public Sub MainLoop() C# public void MainLoop(); Managed C++ public: void MainLoop(); JScript .NET 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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center