40 operation.
add_layer(sockdata->
layer, input->getDataType(), input->isLinked());
44 void OutputFileNode::map_input_sockets(NodeConverter &converter,
45 OutputOpenExrMultiLayerOperation &operation)
const
47 bool previewAdded =
false;
49 for (NodeInput *input :
inputs) {
50 converter.mapInputSocket(input, operation.getInputSocket(index++));
53 converter.addNodeInputPreview(input);
100 add_input_sockets(*outputOperation);
102 map_input_sockets(converter, *outputOperation);
105 bool previewAdded =
false;
107 if (input->isLinked()) {
123 input->getDataType(),
134 input->getDataType(),
145 input->getDataType(),
void BLI_join_dirfile(char *__restrict dst, const size_t maxlen, const char *__restrict dir, const char *__restrict file) ATTR_NONNULL()
#define R_IMF_IMTYPE_MULTILAYER
Overall context of the compositor.
void mapInputSocket(NodeInput *node_socket, NodeOperationInput *operation_socket)
void addNodeInputPreview(NodeInput *input)
void addOperation(NodeOperation *operation)
NodeOperation contains calculation logic.
NodeOperationInput * getInputSocket(unsigned int index)
Vector< NodeInput * > inputs
the list of actual input-sockets
bNode * getbNode() const
get the reference to the SDNA bNode struct
OutputFileNode(bNode *editorNode)
void convertToOperations(NodeConverter &converter, const CompositorContext &context) const override
convert node to operation
void add_layer(const char *name, DataType datatype, bool use_layer)