gled-ui 2.32.1

gled's egui interface, shared by the desktop app and the browser
Documentation
//! gled's egui interface without the engine. The desktop app and the browser
//! page both build on it; it compiles for the web, so it only talks to the
//! engine through `gled_protocol` messages.

#![forbid(unsafe_code)]
#![forbid(clippy::unwrap_used)]
#![warn(clippy::todo)]
#![warn(missing_debug_implementations)]
#![recursion_limit = "256"]
#![allow(clippy::too_many_arguments, clippy::type_complexity)]

pub mod app;
pub(crate) mod assets;
pub(crate) mod audio;
pub(crate) mod canvas;
pub mod extension;
pub(crate) mod fixture_definition_editor;
pub(crate) mod fixture_editor;
pub(crate) mod key_code;
pub mod link;
pub(crate) mod midi_learn;
pub(crate) mod model;
pub(crate) mod pipeline;
pub(crate) mod platform;
pub mod render_state;
pub mod settings;
pub mod style;
pub mod ui;

/// The app's render state. Panics before the app started, which only code
/// drawing the app can reach.
pub fn wgpu_render_state() -> eframe::egui_wgpu::RenderState {
    render_state::get().expect("the app has started")
}