MCPcopy Create free account
hub / github.com/SpaiR/imgui-java / launch

Method launch

imgui-app/src/main/java/imgui/app/Application.java:134–144  ·  view source on GitHub ↗

Entry point of any ImGui application. Use it to start the application loop. @param app application instance to run

(final Application app)

Source from the content-addressed store, hash-verified

132 * @param app application instance to run
133 */
134 public static void launch(final Application app) {
135 final Configuration config = new Configuration();
136 app.configure(config);
137 app.window = (config.getBackend() == Backend.SDL) ? new WindowSdl() : new WindowGlfw();
138 app.window.setOwner(app);
139 app.window.init(config);
140 app.preRun();
141 app.window.run();
142 app.postRun();
143 app.window.dispose();
144 }
145}

Callers 2

mainMethod · 0.80
mainMethod · 0.80

Calls 8

getBackendMethod · 0.95
setOwnerMethod · 0.80
preRunMethod · 0.80
postRunMethod · 0.80
runMethod · 0.65
configureMethod · 0.45
initMethod · 0.45
disposeMethod · 0.45

Tested by

no test coverage detected