Skip to content

Commit d37e989

Browse files
committed
addressed feedback
1 parent bd20346 commit d37e989

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/bevy_render/src/render_phase/draw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use std::{any::TypeId, fmt::Debug, hash::Hash};
2323
/// The the draw function can retrieve and query the required ECS data from the render world.
2424
///
2525
/// This trait can either be implemented directly or implicitly composed out of multiple modular
26-
/// [`RenderCommand`]s.
26+
/// [`RenderCommand`]s. For more details and an example see the [`RenderCommand`] documentation.
2727
pub trait Draw<P: PhaseItem>: Send + Sync + 'static {
2828
/// Prepares the draw function to be used. This is called once and only once before the phase
2929
/// begins. There may be zero or more `draw` calls following a call to this function.

crates/bevy_render/src/render_phase/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub use rangefinder::*;
2929
use bevy_ecs::prelude::*;
3030
use std::ops::Range;
3131

32-
/// A collection of all [`PhaseItem`]s for a single rendering phase for a single view.
32+
/// A collection of all rendering instructions, that will be executed by the GPU, for a single rendering phase for a single view.
3333
///
3434
/// Each view (camera, or shadow-casting light, etc.) can have one or multiple render phases.
3535
/// They are used to queue entities for rendering.

0 commit comments

Comments
 (0)