Skip to content

Commit

Permalink
[dataflow][rendering] allow to edit graphs from rendering controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasPaulin committed Nov 4, 2022
1 parent 9da02b3 commit 31fa918
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Dataflow/Rendering/Renderer/RenderGraphController.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ class RA_DATAFLOW_API RenderGraphController : public ControllableRenderer::Rende
/// Call this to set a graph to load before OpenGL is OK
void deferredLoadGraph( const std::string& filename );

// allow to "edit" the graph
RenderingGraph* getGraph() { return m_renderGraph.get(); }

protected:
/// The controlled graph.
/// The controller own the graph and manage loading/saving of the renderer
Expand Down

0 comments on commit 31fa918

Please sign in to comment.