diff options
Diffstat (limited to 'source/blender/compositor/intern/COM_NodeConverter.h')
-rw-r--r-- | source/blender/compositor/intern/COM_NodeConverter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_NodeConverter.h b/source/blender/compositor/intern/COM_NodeConverter.h index cad8408a2bf..e5e7629f39a 100644 --- a/source/blender/compositor/intern/COM_NodeConverter.h +++ b/source/blender/compositor/intern/COM_NodeConverter.h @@ -34,6 +34,8 @@ class NodeOperationInput; class NodeOperationOutput; class NodeOperationBuilder; +class ViewerOperation; + /** Interface type for converting a \a Node into \a NodeOperation. * This is passed to \a Node::convertToOperation methods and allows them * to register any number of operations, create links between them, @@ -102,6 +104,11 @@ public: */ NodeOperation *setInvalidOutput(NodeOutput *output); + /** Define a viewer operation as the active output, if possible */ + void registerViewer(ViewerOperation *viewer); + /** The currently active viewer output operation */ + ViewerOperation *active_viewer() const; + private: /** The internal builder for storing the results of the graph construction. */ NodeOperationBuilder *m_builder; |