Module gui

Source
Expand description

Gui and main loop functionality.

Structs§

Context
The frame context the main logic is called with. Contains everything you need to update entities and render a frame.

Traits§

MainFunction
The main function where your game logic is ran each frame. Takes in a Context.

Functions§

__test_run
Fake run function for use in doctests
run
The function which starts a window and calls the main_function each frame. options are passed to eframe::run_native.