23 void OutputFileNode::map_input_sockets(NodeConverter &converter,
24 OutputOpenExrMultiLayerOperation &operation)
const
26 bool preview_added =
false;
29 converter.map_input_socket(
input, operation.get_input_socket(index++));
32 converter.add_node_input_preview(
input);
38 void OutputFileNode::add_preview_to_first_linked_input(NodeConverter &converter)
const
45 if (first_socket->is_linked()) {
46 converter.add_node_input_preview(first_socket);
56 add_preview_to_first_linked_input(converter);
93 add_input_sockets(*output_operation);
95 map_input_sockets(converter, *output_operation);
99 if (
input->is_linked()) {
116 input->get_data_type(),
126 input->get_data_type(),
136 input->get_data_type(),
void BLI_join_dirfile(char *__restrict dst, size_t maxlen, const char *__restrict dir, const char *__restrict file) ATTR_NONNULL()
#define R_IMF_IMTYPE_MULTILAYER
Overall context of the compositor.
void add_operation(NodeOperation *operation)
void map_input_socket(NodeInput *node_socket, NodeOperationInput *operation_socket)
NodeOperation contains calculation logic.
NodeOperationInput * get_input_socket(unsigned int index)
const Vector< NodeInput * > & get_input_sockets() const
get access to the vector of input sockets
bNode * get_bnode() const
get the reference to the SDNA bNode struct
NodeInput * get_input_socket(unsigned int index) const
Vector< NodeInput * > inputs_
the list of actual input-sockets
OutputFileNode(bNode *editor_node)
void convert_to_operations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
void add_layer(const char *name, DataType datatype, bool use_layer)
ccl_global KernelShaderEvalInput * input