Blender V5.0
node_function_util.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include <cstring>
8#include <optional>
9
10#include "BLI_math_vector.hh" // IWYU pragma: export
11
12#include "DNA_node_types.h"
13
14#include "BKE_node.hh"
15#include "BKE_node_legacy_types.hh" // IWYU pragma: export
16
17#include "NOD_multi_function.hh" // IWYU pragma: export
18#include "NOD_register.hh" // IWYU pragma: export
19#include "NOD_socket_declarations.hh" // IWYU pragma: export
20
21#include "node_util.hh" // IWYU pragma: export
22
23#include "FN_multi_function_builder.hh" // IWYU pragma: export
24
25#include "RNA_access.hh" // IWYU pragma: export
26
28 std::string idname,
29 std::optional<int16_t> legacy_type = std::nullopt);
void fn_node_type_base(blender::bke::bNodeType *ntype, std::string idname, std::optional< int16_t > legacy_type=std::nullopt)
Defines a node type.
Definition BKE_node.hh:238