Blender V2.61 - r43446
Functions

node_shader_common.c File Reference

#include "DNA_node_types.h"
#include "BKE_node.h"
#include "node_shader_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 move_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_move_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)
static void group_gpu_copy_inputs (bNode *node, GPUNodeStack *in, bNodeStack *gstack)
static void group_gpu_move_outputs (bNode *node, GPUNodeStack *out, bNodeStack *gstack)
static int gpu_group_execute (GPUMaterial *mat, bNode *node, void *nodedata, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_group (bNodeTreeType *ttype)

Detailed Description

Definition in file node_shader_common.c.


Function Documentation

static void copy_stack ( bNodeStack *  to,
bNodeStack *  from 
) [static]
static int gpu_group_execute ( GPUMaterial *  mat,
bNode *  node,
void *  nodedata,
GPUNodeStack *  in,
GPUNodeStack *  out 
) [static]
static void group_copy_inputs ( bNode *  node,
bNodeStack **  in,
bNodeStack *  gstack 
) [static]
static void group_execute ( void *  data,
int  thread,
struct bNode *  node,
void *  nodedata,
struct bNodeStack **  in,
struct bNodeStack **  out 
) [static]
static void group_freeexec ( bNode *  UNUSEDnode,
void *  nodedata 
) [static]

Definition at line 82 of file node_shader_common.c.

References ntreeShaderEndExecTree().

Referenced by register_node_type_sh_group().

static void group_gpu_copy_inputs ( bNode *  node,
GPUNodeStack *  in,
bNodeStack *  gstack 
) [static]
static void group_gpu_move_outputs ( bNode *  node,
GPUNodeStack *  out,
bNodeStack *  gstack 
) [static]
static void* group_initexec ( bNode *  node) [static]

Definition at line 71 of file node_shader_common.c.

References exec(), bNode::id, and ntreeShaderBeginExecTree().

Referenced by register_node_type_sh_group().

static void group_move_outputs ( bNode *  node,
bNodeStack **  out,
bNodeStack *  gstack 
) [static]
static void move_stack ( bNodeStack *  to,
bNodeStack *  from 
) [static]
void register_node_type_sh_group ( bNodeTreeType *  ttype)