Blender  V2.59
Functions | Variables
SHD_geom.c File Reference
#include "../SHD_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 (bNode *node)
static int gpu_shader_geom (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_geom (ListBase *lb)

Variables

static bNodeSocketType sh_node_geom_out []

Detailed Description

Definition in file SHD_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 ( bNode node) [static]

Definition at line 121 of file SHD_geom.c.

References MEM_callocN(), and bNode::storage.

Referenced by register_node_type_sh_geom().

void register_node_type_sh_geom ( ListBase lb)

Variable Documentation

Initial value:
 {
        {       SOCK_VECTOR, 0, "Global",       0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},   
        {       SOCK_VECTOR, 0, "Local",        0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
        {       SOCK_VECTOR, 0, "View", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
        {       SOCK_VECTOR, 0, "Orco", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
        {       SOCK_VECTOR, 0, "UV",   0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
        {       SOCK_VECTOR, 0, "Normal",       0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
        {       SOCK_RGBA,   0, "Vertex Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       SOCK_VALUE,   0, "Front/Back", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 42 of file SHD_geom.c.