Blender V2.61 - r43446
Functions

node_exec.c File Reference

#include "DNA_node_types.h"
#include "BLI_listbase.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "BKE_node.h"
#include "MEM_guardedalloc.h"
#include "node_exec.h"

Go to the source code of this file.

Functions

bNodeStacknode_get_socket_stack (bNodeStack *stack, bNodeSocket *sock)
void node_get_stack (bNode *node, bNodeStack *stack, bNodeStack **in, bNodeStack **out)
void node_init_input_index (bNodeSocket *sock, int *index)
void node_init_output_index (bNodeSocket *sock, int *index)
static struct bNodeStacksetup_stack (bNodeStack *stack, bNodeSocket *sock)
bNodeTreeExecntree_exec_begin (bNodeTree *ntree)
void ntree_exec_end (bNodeTreeExec *exec)
bNodeThreadStackntreeGetThreadStack (bNodeTreeExec *exec, int thread)
void ntreeReleaseThreadStack (bNodeThreadStack *nts)
void ntreeExecNodes (bNodeTreeExec *exec, void *callerdata, int thread)
void ntreeExecThreadNodes (bNodeTreeExec *exec, bNodeThreadStack *nts, void *callerdata, int thread)

Detailed Description

Definition in file node_exec.c.


Function Documentation

bNodeStack* node_get_socket_stack ( bNodeStack stack,
bNodeSocket sock 
) [read]
void node_get_stack ( bNode node,
bNodeStack stack,
bNodeStack **  in,
bNodeStack **  out 
)
void node_init_input_index ( bNodeSocket sock,
int *  index 
)

Definition at line 70 of file node_exec.c.

References bNodeLink::fromsock, bNodeSocket::link, and bNodeSocket::stack_index.

Referenced by ntree_exec_begin().

void node_init_output_index ( bNodeSocket sock,
int *  index 
)

Definition at line 80 of file node_exec.c.

References bNodeSocket::stack_index.

Referenced by ntree_exec_begin().

bNodeTreeExec* ntree_exec_begin ( bNodeTree ntree) [read]
void ntree_exec_end ( bNodeTreeExec exec)
void ntreeExecNodes ( bNodeTreeExec exec,
void *  callerdata,
int  thread 
)
void ntreeExecThreadNodes ( bNodeTreeExec exec,
bNodeThreadStack nts,
void *  callerdata,
int  thread 
)
bNodeThreadStack* ntreeGetThreadStack ( bNodeTreeExec exec,
int  thread 
) [read]
void ntreeReleaseThreadStack ( bNodeThreadStack nts)

Definition at line 260 of file node_exec.c.

References bNodeThreadStack::used.

Referenced by group_execute(), ntreeShaderExecTree(), and ntreeTexExecTree().

static struct bNodeStack* setup_stack ( bNodeStack stack,
bNodeSocket sock 
) [static, read]