-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Fix intra-doc links and make CI test them #14076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
08e6f1d
2694004
7cbfed0
0558bf8
b16330d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,9 +17,8 @@ use bevy_utils::tracing::info_span; | |
|
||
use super::AlphaMask3d; | ||
|
||
/// A [`bevy_render::render_graph::Node`] that runs the [`Opaque3d`] | ||
/// [`BinnedRenderPhase`] and [`AlphaMask3d`] | ||
/// [`bevy_render::render_phase::SortedRenderPhase`]s. | ||
/// A [`bevy_render::render_graph::Node`] that runs the [`Opaque3d`] and [`AlphaMask3d`] | ||
/// [`ViewBinnedRenderPhases`]s. | ||
Comment on lines
-20
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not familiar with the render pipelines, but from the code below it seems |
||
#[derive(Default)] | ||
pub struct MainOpaquePass3dNode; | ||
impl ViewNode for MainOpaquePass3dNode { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ use bevy_utils::tracing::info_span; | |
use std::ops::Range; | ||
|
||
/// A [`bevy_render::render_graph::Node`] that runs the [`Transmissive3d`] | ||
/// [`SortedRenderPhase`]. | ||
/// [`ViewSortedRenderPhases`]. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similarly here. |
||
#[derive(Default)] | ||
pub struct MainTransmissivePass3dNode; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ use bevy_render::{ | |
use bevy_utils::tracing::info_span; | ||
|
||
/// A [`bevy_render::render_graph::Node`] that runs the [`Transparent3d`] | ||
/// [`SortedRenderPhase`]. | ||
/// [`ViewSortedRenderPhases`]. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here. |
||
#[derive(Default)] | ||
pub struct MainTransparentPass3dNode; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -192,9 +192,8 @@ impl<'m> SceneEntityMapper<'m> { | |
} | ||
|
||
/// Reserves the allocated references to dead entities within the world. This frees the temporary base | ||
/// [`Entity`] while reserving extra generations via [`crate::entity::Entities::reserve_generations`]. Because this | ||
/// renders the [`SceneEntityMapper`] unable to safely allocate any more references, this method takes ownership of | ||
/// `self` in order to render it unusable. | ||
/// [`Entity`] while reserving extra generations. Because this makes the [`SceneEntityMapper`] unable to | ||
/// safely allocate any more references, this method takes ownership of `self` in order to render it unusable. | ||
Comment on lines
-195
to
+196
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
pub fn finish(self, world: &mut World) { | ||
// SAFETY: Entities data is kept in a valid state via `EntityMap::world_scope` | ||
let entities = unsafe { world.entities_mut() }; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't find any
LoadContext::load_direct
, the closest thing where this is used seemed to beDirectNestedLoader::load
but I'm not sure it's correct.