2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2020-04-20 15:27:12 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-01-26 20:08:04 +01:00
|
|
|
#include <cstring>
|
2025-01-14 14:39:36 +01:00
|
|
|
#include <optional>
|
2020-04-20 15:27:12 +02:00
|
|
|
|
2025-01-26 20:08:04 +01:00
|
|
|
#include "BLI_math_vector.hh" // IWYU pragma: export
|
2020-04-20 15:27:12 +02:00
|
|
|
|
|
|
|
|
#include "DNA_node_types.h"
|
|
|
|
|
|
2023-05-15 15:14:22 +02:00
|
|
|
#include "BKE_node.hh"
|
2025-01-09 20:03:08 +01:00
|
|
|
#include "BKE_node_legacy_types.hh" // IWYU pragma: export
|
2020-04-20 15:27:12 +02:00
|
|
|
|
2025-01-26 20:08:04 +01:00
|
|
|
#include "NOD_multi_function.hh" // IWYU pragma: export
|
|
|
|
|
#include "NOD_register.hh" // IWYU pragma: export
|
|
|
|
|
#include "NOD_socket_declarations.hh" // IWYU pragma: export
|
2020-04-20 15:27:12 +02:00
|
|
|
|
2025-01-26 20:08:04 +01:00
|
|
|
#include "node_util.hh" // IWYU pragma: export
|
2020-04-20 15:27:12 +02:00
|
|
|
|
2025-01-26 20:08:04 +01:00
|
|
|
#include "FN_multi_function_builder.hh" // IWYU pragma: export
|
2020-07-07 18:23:33 +02:00
|
|
|
|
2025-01-26 20:08:04 +01:00
|
|
|
#include "RNA_access.hh" // IWYU pragma: export
|
2022-08-31 12:15:57 +02:00
|
|
|
|
2025-01-14 14:39:36 +01:00
|
|
|
void fn_node_type_base(blender::bke::bNodeType *ntype,
|
|
|
|
|
std::string idname,
|
|
|
|
|
std::optional<int16_t> legacy_type = std::nullopt);
|