Derive and reflect Debug for CameraRenderGraph (#14364)

# Objective

- `CameraRenderGraph` is not inspectable via reflection, but should be
(the name of the configured render graph should be visible in editors,
etc.)

## Solution

- Derive and reflect `Debug` for `CameraRenderGraph`
This commit is contained in:
Sludge 2024-07-17 21:41:31 +02:00 committed by GitHub
parent 3484bd916f
commit fa855f7974
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -510,8 +510,8 @@ impl Default for CameraOutputMode {
}
/// Configures the [`RenderGraph`](crate::render_graph::RenderGraph) name assigned to be run for a given [`Camera`] entity.
#[derive(Component, Deref, DerefMut, Reflect, Clone)]
#[reflect_value(Component)]
#[derive(Component, Debug, Deref, DerefMut, Reflect, Clone)]
#[reflect_value(Component, Debug)]
pub struct CameraRenderGraph(InternedRenderSubGraph);
impl CameraRenderGraph {