Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/NOD_common.h
| Show All 11 Lines | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* Internal functions for editor. */ | /* Internal functions for editor. */ | ||||
| struct bNodeSocket *node_group_find_input_socket(struct bNode *groupnode, const char *identifier); | struct bNodeSocket *node_group_find_input_socket(struct bNode *groupnode, const char *identifier); | ||||
| struct bNodeSocket *node_group_find_output_socket(struct bNode *groupnode, const char *identifier); | struct bNodeSocket *node_group_find_output_socket(struct bNode *groupnode, const char *identifier); | ||||
| /** Make sure all group node in ntree, which use ngroup, are sync'd. */ | |||||
| void node_group_update(struct bNodeTree *ntree, struct bNode *node); | |||||
| struct bNodeSocket *node_group_input_find_socket(struct bNode *node, const char *identifier); | struct bNodeSocket *node_group_input_find_socket(struct bNode *node, const char *identifier); | ||||
| struct bNodeSocket *node_group_output_find_socket(struct bNode *node, const char *identifier); | struct bNodeSocket *node_group_output_find_socket(struct bNode *node, const char *identifier); | ||||
| void node_group_input_update(struct bNodeTree *ntree, struct bNode *node); | |||||
| void node_group_output_update(struct bNodeTree *ntree, struct bNode *node); | |||||
| void node_internal_links_create(struct bNodeTree *ntree, struct bNode *node); | void node_internal_links_create(struct bNodeTree *ntree, struct bNode *node); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #ifdef __cplusplus | |||||
| namespace blender::nodes { | |||||
| void node_group_declare_dynamic(const bNodeTree &node_tree, | |||||
| const bNode &node, | |||||
| NodeDeclaration &r_declaration); | |||||
| } // namespace blender::nodes | |||||
| #endif | |||||