Blender V5.0
node_composite_util.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2006 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <optional>
12
13#include "DNA_ID.h" // IWYU pragma: export
14#include "DNA_node_types.h"
15
16#include "BKE_node_legacy_types.hh" // IWYU pragma: export
17
18#include "node_util.hh" // IWYU pragma: export
19
20#include "NOD_composite.hh" // IWYU pragma: export
21#include "NOD_menu_value.hh" // IWYU pragma: export
22#include "NOD_register.hh" // IWYU pragma: export
23#include "NOD_socket.hh" // IWYU pragma: export
24#include "NOD_socket_declarations.hh" // IWYU pragma: export
26
27#define CMP_SCALE_MAX 12000
28
30 const bNodeTree *ntree,
31 const char **r_disabled_hint);
32void cmp_node_update_default(bNodeTree *ntree, bNode *node);
34 std::string idname,
35 std::optional<int16_t> legacy_type = std::nullopt);
ID and Library types, which are fundamental for SDNA.
bool cmp_node_poll_default(const blender::bke::bNodeType *ntype, const bNodeTree *ntree, const char **r_disabled_hint)
void cmp_node_update_default(bNodeTree *ntree, bNode *node)
void cmp_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