Fix docs for RenderLayers (#13604)

Doc fixup, closes #13598
This commit is contained in:
charlotte 2024-05-31 08:42:08 -07:00 committed by GitHub
parent 912f77b2fe
commit 0f03e1d46e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,8 +13,7 @@ pub type Layer = usize;
/// Cameras with this component will only render entities with intersecting /// Cameras with this component will only render entities with intersecting
/// layers. /// layers.
/// ///
/// There are 32 layers numbered `0` - [`TOTAL_LAYERS`](RenderLayers::TOTAL_LAYERS). Entities may /// Entities may belong to one or more layers, or no layer at all.
/// belong to one or more layers, or no layer at all.
/// ///
/// The [`Default`] instance of `RenderLayers` contains layer `0`, the first layer. /// The [`Default`] instance of `RenderLayers` contains layer `0`, the first layer.
/// ///