Blender V4.3
COM_Converter.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2011 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#ifdef WITH_CXX_GUARDEDALLOC
8# include "MEM_guardedalloc.h"
9#endif
10
11struct bNode;
12
13namespace blender::compositor {
14
15class Node;
16class NodeOperation;
17class NodeOperationInput;
18class NodeOperationOutput;
19class NodeOperationBuilder;
20
32
37NodeOperation *COM_convert_data_type(const NodeOperationOutput &from,
38 const NodeOperationInput &to);
39
46void COM_convert_canvas(NodeOperationBuilder &builder,
47 NodeOperationOutput *from_socket,
48 NodeOperationInput *to_socket);
49
50} // namespace blender::compositor
Read Guarded memory(de)allocation.
NodeOperation * COM_convert_data_type(const NodeOperationOutput &from, const NodeOperationInput &to)
This function will add a date-type conversion rule when the to-socket does not support the from-socke...
void COM_convert_canvas(NodeOperationBuilder &builder, NodeOperationOutput *from_socket, NodeOperationInput *to_socket)
This function will add a resolution rule based on the settings of the NodeInput.
Node * COM_convert_bnode(bNode *b_node)
Wraps a bNode in its Node instance.