Blender V2.61 - r43446
Functions | Variables

node_shader_geom.c File Reference

#include "node_shader_util.h"
#include "DNA_customdata_types.h"

Go to the source code of this file.

Functions

static void node_shader_exec_geom (void *data, bNode *node, bNodeStack **UNUSED(in), bNodeStack **out)
static void node_shader_init_geometry (bNodeTree *UNUSED(ntree), bNode *node, bNodeTemplate *UNUSED(ntemp))
static int gpu_shader_geom (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_geom (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_geom_out []

Detailed Description

Definition in file node_shader_geom.c.


Function Documentation

static int gpu_shader_geom ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_exec_geom ( void *  data,
bNode node,
bNodeStack **  UNUSEDin,
bNodeStack **  out 
) [static]
static void node_shader_init_geometry ( bNodeTree UNUSEDntree,
bNode node,
bNodeTemplate UNUSEDntemp 
) [static]

Definition at line 123 of file node_shader_geom.c.

References MEM_callocN(), and bNode::storage.

Referenced by register_node_type_sh_geom().

void register_node_type_sh_geom ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_VECTOR, 0, "Global"},
    {   SOCK_VECTOR, 0, "Local"},
    {   SOCK_VECTOR, 0, "View"},
    {   SOCK_VECTOR, 0, "Orco"},
    {   SOCK_VECTOR, 0, "UV"},
    {   SOCK_VECTOR, 0, "Normal"},
    {   SOCK_RGBA,   0, "Vertex Color"},
    {   SOCK_FLOAT,   0, "Vertex Alpha"},
    {   SOCK_FLOAT,   0, "Front/Back"},
    {   -1, 0, ""   }
}

Definition at line 40 of file node_shader_geom.c.