virtual NodeOperation * getColorConverter(const CompositorContext &context) const =0
void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
CombineColorNode(bNode *editorNode)
NodeOperation * getColorConverter(const CompositorContext &context) const override
NodeOperation * getColorConverter(const CompositorContext &context) const override
NodeOperation * getColorConverter(const CompositorContext &context) const override
NodeOperation * getColorConverter(const CompositorContext &context) const override
Overall context of the compositor.
void mapInputSocket(NodeInput *node_socket, NodeOperationInput *operation_socket)
void addOperation(NodeOperation *operation)
void mapOutputSocket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void addLink(NodeOperationOutput *from, NodeOperationInput *to)
NodeOperation contains calculation logic.
NodeOperationInput * getInputSocket(unsigned int index)
void setResolutionInputSocketIndex(unsigned int index)
set the index of the input socket that will determine the resolution of this operation
NodeOperationOutput * getOutputSocket(unsigned int index=0)
NodeOutput are sockets that can send data/input.
NodeOutput * getOutputSocket(const unsigned int index=0) const
bNode * getbNode() const
get the reference to the SDNA bNode struct
NodeInput * getInputSocket(const unsigned int index) const