67 bNodeTree *ngroup = id_cast<bNodeTree *>(gnode->
id);
73 if (
node.is_group_input()) {
74 for (sock =
node.outputs.first(), a = 0; sock; sock = sock->
next, a++) {
92 ngroup.ensure_topology_cache();
93 bNode *group_output_node = ngroup.group_output_node();
94 if (!group_output_node) {
98 for (
auto [a, sock] : group_output_node->
inputs.enumerate()) {
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)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
static void group_execute(void *data, int thread, bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
void ntreeTexEndExecTree_internal(bNodeTreeExec *exec)
void node_group_label(const bNodeTree *, const bNode *node, char *label, int label_maxncpy)
StructRNA * RNA_struct_find(const char *identifier)
static void * group_initexec(bNodeExecContext *context, bNode *node, bNodeInstanceKey key)
static void group_copy_inputs(bNode *gnode, bNodeStack **in, bNodeStack *gstack)
bNodeTreeExec * ntreeTexBeginExecTree_internal(bNodeExecContext *context, bNodeTree *ntree, bNodeInstanceKey parent_key)
BMesh const char void * data
static void copy_stack(bNodeStack *to, bNodeStack *from)
bNodeStack * node_get_socket_stack(bNodeStack *stack, bNodeSocket *sock)
bool node_insert_link_default(bke::NodeInsertLinkParams &)
bool ntreeExecThreadNodes(bNodeTreeExec *exec, bNodeThreadStack *nts, void *callerdata, int thread)
static void group_freeexec(void *nodedata)
bool tex_node_poll_default(const bke::bNodeType *, const bNodeTree *ntree, const char **r_disabled_hint)
static void group_copy_outputs(bNode *gnode, bNodeStack **out, bNodeStack *gstack)
void RNA_struct_blender_type_set(StructRNA *srna, void *blender_type)
bNodeThreadStack * ntreeGetThreadStack(bNodeTreeExec *exec, int thread)
MINLINE void copy_v4_v4(float r[4], const float a[4])
bool node_group_poll_instance(const bNode *node, const bNodeTree *nodetree, const char **r_disabled_hint)
void register_node_type_tex_group()
void ntreeReleaseThreadStack(bNodeThreadStack *nts)
struct bNodeSocket * next
eNodeStack_Datatype datatype
bke::bNodeRuntime * runtime
ListBaseT< bNodeSocket > inputs
static constexpr int GroupMin
NodeFreeExecFunction free_exec_fn
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)
const char * enum_name_legacy
NodeDeclareFunction declare
NodeInitExecFunction init_exec_fn
bool(*) insert_link(NodeInsertLinkParams ¶ms)
bool(*) poll_instance(const bNode *node, const bNodeTree *nodetree, const char **r_disabled_hint)