Blender V2.61 - r43446
Functions | Variables

node_shader_mapping.c File Reference

#include "node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_mapping (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_shader_init_mapping (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
static int gpu_shader_mapping (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_mapping (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_mapping_in []
static bNodeSocketTemplate sh_node_mapping_out []

Detailed Description

Definition in file node_shader_mapping.c.


Function Documentation

static int gpu_shader_mapping ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_exec_mapping ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_shader_init_mapping ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]

Definition at line 70 of file node_shader_mapping.c.

References add_tex_mapping(), and bNode::storage.

Referenced by register_node_type_sh_mapping().

void register_node_type_sh_mapping ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_VECTOR, 1, "Vector",   0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_NONE},
    {   -1, 0, ""   }
}

Definition at line 36 of file node_shader_mapping.c.

Initial value:
 {
    {   SOCK_VECTOR, 0, "Vector"},
    {   -1, 0, ""   }
}

Definition at line 41 of file node_shader_mapping.c.