Skip to content

Commit

Permalink
Explain where rendering is
Browse files Browse the repository at this point in the history
  • Loading branch information
stepancheg committed Dec 18, 2023
1 parent d99053c commit 8431a4e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions crates/bevy_app/src/main_schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@ use bevy_ecs::{
/// * [`Update`]
/// * [`PostUpdate`]
/// * [`Last`]
///
/// # Rendering
///
/// Note rendering is not executed in the main schedule by default.
/// Instead, rendering is performed in a separate [`SubApp`](crate::app::SubApp)
/// which exchanges data with the main app in between the main schedule runs.
///
/// When pipelined rendering is enabled, rendering is performed in a separate thread,
/// concurrently with the main schedule, one rendering iteration for each main schedule iteration.
///
/// See `RenderPlugin` and `PipelinedRenderingPlugin` for more details.
#[derive(ScheduleLabel, Clone, Debug, PartialEq, Eq, Hash)]
pub struct Main;

Expand Down

0 comments on commit 8431a4e

Please sign in to comment.