Blender V2.61 - r43446
|
#include "DNA_node_types.h"
#include "BKE_node.h"
#include "node_texture_util.h"
#include "node_common.h"
#include "node_exec.h"
Go to the source code of this file.
Functions | |
static void | copy_stack (bNodeStack *to, bNodeStack *from) |
static void * | group_initexec (bNode *node) |
static void | group_freeexec (bNode *UNUSED(node), void *nodedata) |
static void | group_copy_inputs (bNode *node, bNodeStack **in, bNodeStack *gstack) |
static void | group_copy_outputs (bNode *node, bNodeStack **out, bNodeStack *gstack) |
static void | group_execute (void *data, int thread, struct bNode *node, void *nodedata, struct bNodeStack **in, struct bNodeStack **out) |
void | register_node_type_tex_group (bNodeTreeType *ttype) |
Definition in file node_texture_common.c.
static void copy_stack | ( | bNodeStack * | to, |
bNodeStack * | from | ||
) | [static] |
Definition at line 42 of file node_texture_common.c.
References copy_v4_v4(), bNodeStack::data, bNodeStack::datatype, bNodeStack::is_copy, and bNodeStack::vec.
Referenced by group_copy_inputs(), and group_copy_outputs().
static void group_copy_inputs | ( | bNode * | node, |
bNodeStack ** | in, | ||
bNodeStack * | gstack | ||
) | [static] |
Definition at line 77 of file node_texture_common.c.
References copy_stack(), ListBase::first, bNodeSocket::groupsock, bNode::inputs, bNodeSocket::next, and node_get_socket_stack().
Referenced by group_execute().
static void group_copy_outputs | ( | bNode * | node, |
bNodeStack ** | out, | ||
bNodeStack * | gstack | ||
) | [static] |
Definition at line 92 of file node_texture_common.c.
References copy_stack(), ListBase::first, bNodeSocket::groupsock, bNodeSocket::next, node_get_socket_stack(), and bNode::outputs.
Referenced by group_execute().
static void group_execute | ( | void * | data, |
int | thread, | ||
struct bNode * | node, | ||
void * | nodedata, | ||
struct bNodeStack ** | in, | ||
struct bNodeStack ** | out | ||
) | [static] |
Definition at line 105 of file node_texture_common.c.
References exec(), ListBase::first, group_copy_inputs(), group_copy_outputs(), bNode::need_exec, bNode::next, bNodeTree::nodes, bNodeTreeExec::nodetree, ntreeExecThreadNodes(), ntreeGetThreadStack(), ntreeReleaseThreadStack(), and bNodeThreadStack::stack.
Referenced by register_node_type_tex_group().
static void group_freeexec | ( | bNode * | UNUSEDnode, |
void * | nodedata | ||
) | [static] |
Definition at line 67 of file node_texture_common.c.
References ntreeTexEndExecTree().
Referenced by register_node_type_tex_group().
static void* group_initexec | ( | bNode * | node | ) | [static] |
Definition at line 56 of file node_texture_common.c.
References exec(), bNode::id, and ntreeTexBeginExecTree().
Referenced by register_node_type_tex_group().
void register_node_type_tex_group | ( | bNodeTreeType * | ttype | ) |
Definition at line 128 of file node_texture_common.c.
References group_execute(), group_freeexec(), group_initexec(), NODE_CLASS_GROUP, NODE_CONST_OUTPUT, NODE_GROUP, node_group_edit_clear(), node_group_edit_get(), node_group_edit_set(), node_group_init(), node_group_label(), node_group_template(), node_group_valid(), node_group_verify(), NODE_OPTIONS, node_type_base(), node_type_exec_new(), node_type_group_edit(), node_type_init(), node_type_label(), node_type_size(), node_type_socket_templates(), node_type_template(), node_type_update(), node_type_valid(), nodeRegisterType(), and NULL.
Referenced by registerTextureNodes().