Skip to content

Commit 5542a52

Browse files
committed
Added the additional documentation to the render_layers struct
1 parent 12f71a8 commit 5542a52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/bevy_render/src/view/visibility/render_layers.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ pub type Layer = usize;
1212
/// Cameras with this component will only render entities with intersecting
1313
/// layers.
1414
///
15+
/// Cameras without this component will only render entities belonging to the default
16+
/// render layer (RenderLayers::layer(0)).
17+
///
1518
/// Entities may belong to one or more layers, or no layer at all.
1619
///
1720
/// The [`Default`] instance of `RenderLayers` contains layer `0`, the first layer.

0 commit comments

Comments
 (0)