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:
parent
3484bd916f
commit
fa855f7974
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user