Crate all_is_cubes_desktop

Source
Expand description

Components for creating a desktop application that renders interactive all_is_cubes content.

§Warning: Unstable! Dubiously designed!

This is not a good general-purpose library. It is primarily used by the all-is-cubes binary target in this package; it currently only exists as a library so that additional development tools can reuse the same UI code. Use at your own risk. Documentation is lacking.

Re-exports§

  • pub use glue::Renderer;
  • pub use glue::Window;

Modules§

  • Logging. And terminal progress bars. And their cooperation.
  • Headless output of images, video, or export data formats.
  • Rendering as styled terminal text.
  • Glue between all_is_cubes, winit, and winit-compatible renderers.

Structs§

Enums§

Functions§

  • Choose a window size (in terms of viewport size) when the user did not request one.
  • Main loop function that does nothing but run the simulation. Suitable for passing to inner_main() if integration with another event loop is not needed.
  • Given a DesktopSession and an event loop type already decided, run the remainder of main operations.
  • Load preferences/settings/config files from a platform-appropriate read/write location.

Type Aliases§