Skip to content

Added the additional documentation to the render_layers struct #18937

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

goo3r
Copy link

@goo3r goo3r commented Apr 25, 2025

Objective

  • This is to add clarity to the documentation for RenderLayers with regards to how a camera without RenderLayers operates

Solution

  • Adding in the additional documentation

Testing

  • Built the solution to see the changes

Copy link
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@ickshonpe ickshonpe added C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Apr 29, 2025
@@ -12,6 +12,9 @@ pub type Layer = usize;
/// Cameras with this component will only render entities with intersecting
/// layers.
///
/// Cameras without this component will only render entities belonging to the default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could move this down and merge it with the default instance section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-Review Needs reviewer attention (from anyone!) to move forward
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants