nightshade 0.54.0

A cross-platform data-oriented game engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::ecs::world::World;

pub type SystemFn = fn(&mut World);

/// The retained-UI pipeline systems, in run order. The frame's post-update
/// stage drives them through
/// [`run_retained_ui_schedule`](crate::plugins::ui::run_retained_ui_schedule),
/// right after transform propagation. Composing
/// [`UiPlugin`](crate::plugins::ui::UiPlugin) populates the list with
/// [`build_default_retained_ui_schedule`](crate::plugins::ui::build_default_retained_ui_schedule).
#[derive(Default)]
pub struct RetainedUiSchedule {
    pub systems: Vec<SystemFn>,
}