Skip to content

MTY_AppRun

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Run the app and begin executing its MTY_AppFunc and MTY_EventFunc.

This function will block until your MTY_AppFunc returns false. It should be run on the main thread. Internally, it polls for messages from the OS, dispatches events to your MTY_EventFunc, and performs internal state management for the MTY_App object as a whole.

void MTY_AppRun(
    MTY_App * ctx
);

Parameters

ctx (MTY_App *)

The MTY_App.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: App

Clone this wiki locally