101 for (sock =
node->outputs.first,
a = 0; sock; sock = sock->next,
a++) {
123 for (sock =
node->inputs.first,
a = 0; sock; sock = sock->next,
a++) {
153 for (inode =
exec->nodetree->nodes.first; inode; inode = inode->
next) {
177 for (sock =
node->outputs.first,
a = 0; sock; sock = sock->next,
a++) {
200 for (sock =
node->inputs.first,
a = 0; sock; sock = sock->next,
a++) {
void node_type_gpu(struct bNodeType *ntype, NodeGPUExecFunction gpu_fn)
void node_type_size(struct bNodeType *ntype, int width, int minwidth, int maxwidth)
void node_type_socket_templates(struct bNodeType *ntype, struct bNodeSocketTemplate *inputs, struct bNodeSocketTemplate *outputs)
void node_type_base_custom(struct bNodeType *ntype, const char *idname, const char *name, short nclass, short flag)
void node_type_group_update(struct bNodeType *ntype, void(*group_update_func)(struct bNodeTree *ntree, struct bNode *node))
void node_type_exec(struct bNodeType *ntype, NodeInitExecFunction init_exec_fn, NodeFreeExecFunction free_exec_fn, NodeExecFunction exec_fn)
void nodeRegisterType(struct bNodeType *ntype)
void node_type_label(struct bNodeType *ntype, void(*labelfunc)(struct bNodeTree *ntree, struct bNode *, char *label, int maxlen))
MINLINE void copy_v4_v4(float r[4], const float a[4])
#define NODE_CONST_OUTPUT
void node_group_update(struct bNodeTree *ntree, struct bNode *node)
bool node_group_poll_instance(bNode *node, bNodeTree *nodetree, const char **disabled_hint)
void node_group_label(bNodeTree *UNUSED(ntree), bNode *node, char *label, int maxlen)
bNodeThreadStack * ntreeGetThreadStack(bNodeTreeExec *exec, int thread)
bool ntreeExecThreadNodes(bNodeTreeExec *exec, bNodeThreadStack *nts, void *callerdata, int thread)
void ntreeReleaseThreadStack(bNodeThreadStack *nts)
bNodeStack * node_get_socket_stack(bNodeStack *stack, bNodeSocket *sock)
struct bNodeTreeExec * ntreeShaderBeginExecTree_internal(struct bNodeExecContext *context, struct bNodeTree *ntree, bNodeInstanceKey parent_key)
void ntreeShaderEndExecTree_internal(struct bNodeTreeExec *exec)
static int gpu_group_execute(GPUMaterial *mat, bNode *node, bNodeExecData *execdata, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_group(void)
static void group_execute(void *data, int thread, struct bNode *node, bNodeExecData *execdata, struct bNodeStack **in, struct bNodeStack **out)
static void * group_initexec(bNodeExecContext *context, bNode *node, bNodeInstanceKey key)
static void move_stack(bNodeStack *to, bNodeStack *from)
static void group_move_outputs(bNode *gnode, bNodeStack **out, bNodeStack *gstack)
static void group_copy_inputs(bNode *gnode, bNodeStack **in, bNodeStack *gstack)
static void group_freeexec(void *nodedata)
static void copy_stack(bNodeStack *to, bNodeStack *from)
static void group_gpu_copy_inputs(bNode *gnode, GPUNodeStack *in, bNodeStack *gstack)
static void group_gpu_move_outputs(bNode *gnode, GPUNodeStack *out, bNodeStack *gstack)
void register_node_type_sh_custom_group(bNodeType *ntype)
bool sh_node_poll_default(bNodeType *UNUSED(ntype), bNodeTree *ntree, const char **r_disabled_hint)
void node_data_from_gpu_stack(bNodeStack *ns, GPUNodeStack *gs)
void ntreeExecGPUNodes(bNodeTreeExec *exec, GPUMaterial *mat, bNode *output_node)
void node_gpu_stack_from_data(struct GPUNodeStack *gs, int type, bNodeStack *ns)
static void exec(void *data, int UNUSED(thread), bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
void node_insert_link_default(bNodeTree *ntree, bNode *node, bNodeLink *link)
void node_update_internal_links_default(bNodeTree *ntree, bNode *node)
void RNA_struct_blender_type_set(StructRNA *srna, void *blender_type)
StructRNA * RNA_struct_find(const char *identifier)
struct SELECTID_Context context
struct bNodeStack * stack
bool(* poll)(struct bNodeType *ntype, struct bNodeTree *nodetree, const char **r_disabled_hint)
void(* update_internal_links)(struct bNodeTree *, struct bNode *node)
void(* insert_link)(struct bNodeTree *ntree, struct bNode *node, struct bNodeLink *link)
bool(* poll_instance)(struct bNode *node, struct bNodeTree *nodetree, const char **r_disabled_hint)