The main goal here is to move towards more self contained node definitions. Previously, one would have to change `blenkernel` to add a new node which is not necessary anymore. There is no need for all these register functions to "leak out" of the nodes module. Differential Revision: https://developer.blender.org/D16612
33 lines
1.0 KiB
C++
33 lines
1.0 KiB
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2005 Blender Foundation. All rights reserved. */
|
|
|
|
/** \file
|
|
* \ingroup nodes
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "BKE_node.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Internal functions for editor. */
|
|
|
|
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);
|
|
/** 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_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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|