27 switch (
node->custom1) {
71 if (inv_convert !=
nullptr) {
74 converter.
map_output_socket(output_socket_image, inv_convert->get_output_socket());
75 converter.
add_preview(inv_convert->get_output_socket());
#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
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
ChannelMatteNode(bNode *editor_node)
void set_settings(NodeChroma *node_chroma, const int custom2)
Overall context of the compositor.
void add_link(NodeOperationOutput *from, NodeOperationInput *to)
void map_output_socket(NodeOutput *node_socket, NodeOperationOutput *operation_socket)
void add_preview(NodeOperationOutput *output)
void add_operation(NodeOperation *operation)
void map_input_socket(NodeInput *node_socket, NodeOperationInput *operation_socket)
NodeOperation contains calculation logic.
NodeOperationOutput * get_output_socket(unsigned int index=0)
NodeOperationInput * get_input_socket(unsigned int index)
NodeOutput are sockets that can send data/input.
NodeOutput * get_output_socket(unsigned int index=0) const
bNode * get_bnode() const
get the reference to the SDNA bNode struct
NodeInput * get_input_socket(unsigned int index) const