43 switch (
node->custom1) {
87 if (inv_convert !=
nullptr) {
90 converter.
mapOutputSocket(outputSocketImage, inv_convert->getOutputSocket());
91 converter.
addPreview(inv_convert->getOutputSocket());
#define BLI_YCC_ITU_BT709
#define CMP_NODE_CHANNEL_MATTE_CS_HSV
#define CMP_NODE_CHANNEL_MATTE_CS_YUV
#define CMP_NODE_CHANNEL_MATTE_CS_RGB
#define CMP_NODE_CHANNEL_MATTE_CS_YCC
ChannelMatteNode(bNode *editorNode)
void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
void setSettings(NodeChroma *nodeChroma, const int custom2)
Overall context of the compositor.
void mapInputSocket(NodeInput *node_socket, NodeOperationInput *operation_socket)
void addPreview(NodeOperationOutput *output)
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)
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