Blender  V2.93
NOD_common.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) 2005 Blender Foundation.
17  * All rights reserved.
18  */
19 
24 #pragma once
25 
26 #include "BKE_node.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 void register_node_type_frame(void);
34 
37 
38 /* internal functions for editor */
39 struct bNodeSocket *node_group_find_input_socket(struct bNode *groupnode, const char *identifier);
40 struct bNodeSocket *node_group_find_output_socket(struct bNode *groupnode, const char *identifier);
41 void node_group_update(struct bNodeTree *ntree, struct bNode *node);
42 
43 struct bNodeSocket *node_group_input_find_socket(struct bNode *node, const char *identifier);
44 struct bNodeSocket *node_group_output_find_socket(struct bNode *node, const char *identifier);
45 void node_group_input_update(struct bNodeTree *ntree, struct bNode *node);
46 void node_group_output_update(struct bNodeTree *ntree, struct bNode *node);
47 
48 #ifdef __cplusplus
49 }
50 #endif
void node_group_update(struct bNodeTree *ntree, struct bNode *node)
Definition: node_common.c:187
struct bNodeSocket * node_group_input_find_socket(struct bNode *node, const char *identifier)
Definition: node_common.c:433
void node_group_output_update(struct bNodeTree *ntree, struct bNode *node)
Definition: node_common.c:541
struct bNodeSocket * node_group_output_find_socket(struct bNode *node, const char *identifier)
Definition: node_common.c:530
void register_node_type_frame(void)
Definition: node_common.c:220
void register_node_type_group_input(void)
Definition: node_common.c:511
void register_node_type_reroute(void)
Definition: node_common.c:269
void node_group_input_update(struct bNodeTree *ntree, struct bNode *node)
Definition: node_common.c:444
struct bNodeSocket * node_group_find_input_socket(struct bNode *groupnode, const char *identifier)
Definition: node_common.c:54
struct bNodeSocket * node_group_find_output_socket(struct bNode *groupnode, const char *identifier)
Definition: node_common.c:65
void register_node_type_group_output(void)
Definition: node_common.c:609
OperationNode * node
bNodeTree * ntree
char identifier[64]