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
29 lines
547 B
C++
29 lines
547 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include <string.h>
|
|
|
|
#include "BLI_math_vector.hh"
|
|
#include "BLI_utildefines.h"
|
|
|
|
#include "MEM_guardedalloc.h"
|
|
|
|
#include "DNA_node_types.h"
|
|
|
|
#include "BKE_node.h"
|
|
|
|
#include "BLT_translation.h"
|
|
|
|
#include "NOD_multi_function.hh"
|
|
#include "NOD_socket_declarations.hh"
|
|
|
|
#include "node_function_register.hh"
|
|
#include "node_util.h"
|
|
|
|
#include "FN_multi_function_builder.hh"
|
|
|
|
#include "RNA_access.h"
|
|
|
|
void fn_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass);
|