From 0e8335a119cd99d073c2af7940f7edf2846a5685 Mon Sep 17 00:00:00 2001 From: Jakob Hellermann Date: Fri, 12 Mar 2021 11:58:48 +0100 Subject: [PATCH] fix doc links --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ed80ade5d..20c3db15d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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. @@ -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, } /// 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, } @@ -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, }