Blender  V2.93
NOD_socket.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  *
16  * The Original Code is Copyright (C) 2007 Blender Foundation.
17  * All rights reserved.
18  */
19 
24 #pragma once
25 
26 #include "DNA_listBase.h"
27 
28 #include "BLI_utildefines.h"
29 
30 #include "BKE_node.h"
31 
32 #include "RNA_types.h"
33 
34 struct bNode;
35 struct bNodeTree;
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
42  struct bNode *node,
43  struct bNodeSocketTemplate *stemp,
45 
47 
50 void node_socket_skip_reroutes(struct ListBase *links,
51  struct bNode *node,
52  struct bNodeSocket *socket,
53  struct bNode **r_node,
54  struct bNodeSocket **r_socket);
56 
57 #ifdef __cplusplus
58 }
59 #endif
These structs are the foundation for all linked lists in the library system.
eNodeSocketInOut
void node_socket_skip_reroutes(struct ListBase *links, struct bNode *node, struct bNodeSocket *socket, struct bNode **r_node, struct bNodeSocket **r_socket)
Definition: node_socket.cc:383
void node_socket_init_default_value(struct bNodeSocket *sock)
Definition: node_socket.cc:204
void node_verify_socket_templates(struct bNodeTree *ntree, struct bNode *node)
Definition: node_socket.cc:186
void register_standard_node_socket_types(void)
Definition: node_socket.cc:717
void node_socket_copy_default_value(struct bNodeSocket *to, const struct bNodeSocket *from)
struct bNodeSocket * node_add_socket_from_template(struct bNodeTree *ntree, struct bNode *node, struct bNodeSocketTemplate *stemp, eNodeSocketInOut in_out)
Definition: node_socket.cc:52
OperationNode * node
StackEntry * from
bNodeTree * ntree
Compact definition of a node socket.
Definition: BKE_node.h:95