Structs
- The
PresentInputstruct is passed to the [present] method of theApptrait to provide information about the current frame.
Enums
- The
PresentResultis returned by thepresentmethod of theApptrait to indicate whether the screen has changed since the last frame. - The
TickResultis returned by thetickmethod of theApptrait to indicate whether the game should continue or quit.
Traits
- The
Apptrait is the main interface for the game. It is called by the framework to update the game state and render the game.