Skip to content

Commit

Permalink
fix doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed Mar 12, 2021
1 parent 0ed4e17 commit 0e8335a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ impl Default for EguiSettings {
}

/// A resource that stores the input passed to Egui.
/// It gets reset during the [stage::UI_FRAME] stage.
/// It gets reset during the [EguiSystem::ProcessInput] system
#[derive(Clone, Debug, Default)]
pub struct EguiInput {
/// Egui's raw input.
Expand Down Expand Up @@ -203,14 +203,14 @@ impl EguiClipboard {
pub struct EguiShapes {
/// Pairs of rectangles and paint commands.
///
/// The field gets populated during the [stage::UI_FRAME_END] stage and reset during `EguiNode::update`.
/// The field gets populated during the [EguiStage::UiFrameEnd] stage and reset during `EguiNode::update`.
pub shapes: Vec<egui::paint::ClippedShape>,
}

/// A resource for storing Egui output.
#[derive(Clone, Default)]
pub struct EguiOutput {
/// The field gets updated during the [stage::UI_FRAME_END] stage.
/// The field gets updated during the [EguiStage::UiFrameEnd] stage.
pub output: egui::Output,
}

Expand Down Expand Up @@ -301,7 +301,7 @@ pub mod node {
#[derive(StageLabel, Clone, Hash, Debug, Eq, PartialEq)]
/// The names of `bevy_egui` stages.
pub enum EguiStage {
/// Runs before [bevy::render::stage::RENDER_RESOURCE]. This is where we read Egui's output.
/// Runs before [bevy::render::RenderStage::RenderResource]. This is where we read Egui's output.
UiFrameEnd,
}

Expand Down

0 comments on commit 0e8335a

Please sign in to comment.