50 if (ntype->poll ==
nullptr) {
51 ntype->poll = cmp_node_poll_default;
53 if (ntype->insert_link ==
nullptr) {
54 ntype->insert_link = node_insert_link_default;
constexpr int GROUP_NODE_MIN_WIDTH
constexpr int GROUP_NODE_DEFAULT_WIDTH
constexpr int GROUP_NODE_MAX_WIDTH
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void node_type_size(bNodeType &ntype, int width, int minwidth, int maxwidth)
void node_register_type(bNodeType &ntype)
void node_type_base_custom(bNodeType &ntype, StringRefNull idname, StringRefNull name, StringRefNull enum_name, short nclass)
void node_group_declare(NodeDeclarationBuilder &b)
int node_group_ui_class(const bNode *node)
void node_group_label(const bNodeTree *, const bNode *node, char *label, int label_maxncpy)
bool node_group_poll_instance(const bNode *node, const bNodeTree *nodetree, const char **r_disabled_hint)
std::string node_group_ui_description(const bNode &node)
void register_node_type_cmp_custom_group(blender::bke::bNodeType *ntype)
static void register_node_type_cmp_group()
bool cmp_node_poll_default(const blender::bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
bool node_insert_link_default(bNodeTree *, bNode *, bNodeLink *)
StructRNA * RNA_struct_find(const char *identifier)
void RNA_struct_blender_type_set(StructRNA *srna, void *blender_type)
bool(*) insert_link(bNodeTree *ntree, bNode *node, bNodeLink *link)
void(*) labelfunc(const bNodeTree *ntree, const bNode *node, char *label, int label_maxncpy)
bool(*) poll(const bNodeType *ntype, const bNodeTree *nodetree, const char **r_disabled_hint)
std::string(*) ui_description_fn(const bNode &node)
const char * enum_name_legacy
NodeDeclareFunction declare
int(*) ui_class(const bNode *node)
bool(*) poll_instance(const bNode *node, const bNodeTree *nodetree, const char **r_disabled_hint)