18 const char **r_disabled_hint)
22 *r_disabled_hint =
RPT_(
"Not a geometry node tree");
30 const std::optional<int16_t> legacy_type)
40 const char **r_disabled_hint)
42 if (!
STR_ELEM(ntree->
idname,
"GeometryNodeTree",
"CompositorNodeTree")) {
43 *r_disabled_hint =
RPT_(
"Not a geometry or compositor node tree");
51 const std::optional<int16_t> legacy_type)
void node_type_base(bNodeType &ntype, UString idname, std::optional< int16_t > legacy_type=std::nullopt)
void search_link_ops_for_basic_node(GatherLinkSearchOpParams ¶ms)
void fn_cmp_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
bool node_insert_link_default(bke::NodeInsertLinkParams &)
void fn_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
static bool fn_cmp_node_poll_default(const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
static bool fn_node_poll_default(const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
bool(*) poll(const bNodeType *ntype, const bNodeTree *nodetree, const char **r_disabled_hint)
NodeGatherSocketLinkOperationsFunction gather_link_search_ops
bool(*) insert_link(NodeInsertLinkParams ¶ms)