Blender V2.61 - r43446
Classes | Typedefs | Functions

node_exec.h File Reference

#include "DNA_listBase.h"
#include "BLI_utildefines.h"
#include "BKE_node.h"
#include "RNA_types.h"

Go to the source code of this file.

Classes

struct  bNodeExec
struct  bNodeTreeExec
struct  bNodeThreadStack

Typedefs

typedef struct bNodeExec bNodeExec
typedef struct bNodeTreeExec bNodeTreeExec
typedef struct bNodeThreadStack bNodeThreadStack

Functions

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

Detailed Description

Definition in file node_exec.h.


Typedef Documentation

typedef struct bNodeExec bNodeExec
typedef struct bNodeTreeExec bNodeTreeExec

Function Documentation

struct bNodeStack* node_get_socket_stack ( struct bNodeStack stack,
struct bNodeSocket sock 
) [read]
void node_get_stack ( struct bNode node,
struct bNodeStack stack,
struct bNodeStack **  in,
struct bNodeStack **  out 
)
void node_init_input_index ( struct 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 ( struct bNodeSocket sock,
int *  index 
)

Definition at line 80 of file node_exec.c.

References bNodeSocket::stack_index.

Referenced by ntree_exec_begin().

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

Definition at line 260 of file node_exec.c.

References bNodeThreadStack::used.

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