Interface IMainLoopDriver
Public interface to create your own platform specific main loop driver.
public interface IMainLoopDriver
Methods
- EventsPending(bool)
Must report whether there are any events pending, or even block waiting for events.
- MainIteration()
The iteration function.
- Setup(MainLoop)
Initializes the main loop driver, gets the calling main loop for the initialization.
- Wakeup()
Wakes up the mainloop that might be waiting on input, must be thread safe.