Expand description
Items related to the App type and the application context in general.
See here for items relating to the event loop, device access, creating and managing windows, streams and more.
Structs
- Each nannou application has a single App instance. This App represents the entire context of the application.
- A nannou
Appbuilder. - A handle to the App that can be shared across threads. This may be used to “wake up” the App’s inner event loop.
- A nannou
Sketchbuilder.
Enums
- The mode in which the App is currently running the event loop and emitting
Updateevents.
Functions
- Attempt to find the assets directory path relative to the executable location.
- Attempt to find the assets directory path relative to the executable location.
Type Aliases
- The user function type for updating their model in accordance with some event.
- The user function type allowing them to consume the
modelwhen the application exits. - The user function type for initialising their model.
- A shorthand version of
ViewFnfor sketches where the user does not need a model. - The user function type for updating the user model within the application loop.
- The user function type for drawing their model to the surface of a single window.