Blender V2.61 - r43446
Functions | Variables

node_shader_math.c File Reference

#include "node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_math (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static int gpu_shader_math (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_math (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_math_in []
static bNodeSocketTemplate sh_node_math_out []

Detailed Description

Definition in file node_shader_math.c.


Function Documentation

static int gpu_shader_math ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]

Definition at line 199 of file node_shader_math.c.

References bNode::custom1, GPU_socket(), GPU_stack_link(), names, and NULL.

Referenced by register_node_type_sh_math().

static void node_shader_exec_math ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_sh_math ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 { 
    { SOCK_FLOAT, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f, PROP_NONE}, 
    { SOCK_FLOAT, 1, "Value", 0.5f, 0.5f, 0.5f, 1.0f, -100.0f, 100.0f, PROP_NONE}, 
    { -1, 0, "" } 
}

Definition at line 37 of file node_shader_math.c.

Initial value:
 { 
    { SOCK_FLOAT, 0, "Value"}, 
    { -1, 0, "" } 
}

Definition at line 43 of file node_shader_math.c.