diff options
Diffstat (limited to 'source/blender/compositor/nodes/COM_SocketProxyNode.h')
-rw-r--r-- | source/blender/compositor/nodes/COM_SocketProxyNode.h | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/source/blender/compositor/nodes/COM_SocketProxyNode.h b/source/blender/compositor/nodes/COM_SocketProxyNode.h index 6e288e59797..21e888d323e 100644 --- a/source/blender/compositor/nodes/COM_SocketProxyNode.h +++ b/source/blender/compositor/nodes/COM_SocketProxyNode.h @@ -26,23 +26,31 @@ * \ingroup Node */ class SocketProxyNode : public Node { -public: - SocketProxyNode(bNode *editorNode, bNodeSocket *editorInput, bNodeSocket *editorOutput, bool use_conversion); - void convertToOperations(NodeConverter &converter, const CompositorContext &context) const; - - bool getUseConversion() const { return m_use_conversion; } - void setUseConversion(bool use_conversion) { m_use_conversion = use_conversion; } - -private: - /** If true, the proxy will convert input and output data to/from the proxy socket types. */ - bool m_use_conversion; + public: + SocketProxyNode(bNode *editorNode, + bNodeSocket *editorInput, + bNodeSocket *editorOutput, + bool use_conversion); + void convertToOperations(NodeConverter &converter, const CompositorContext &context) const; + + bool getUseConversion() const + { + return m_use_conversion; + } + void setUseConversion(bool use_conversion) + { + m_use_conversion = use_conversion; + } + + private: + /** If true, the proxy will convert input and output data to/from the proxy socket types. */ + bool m_use_conversion; }; - class SocketBufferNode : public Node { -public: - SocketBufferNode(bNode *editorNode, bNodeSocket *editorInput, bNodeSocket *editorOutput); - void convertToOperations(NodeConverter &converter, const CompositorContext &context) const; + public: + SocketBufferNode(bNode *editorNode, bNodeSocket *editorInput, bNodeSocket *editorOutput); + void convertToOperations(NodeConverter &converter, const CompositorContext &context) const; }; #endif |