Blender  V2.59
Functions | Variables
SHD_math.c File Reference
#include "../SHD_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 (ListBase *lb)

Variables

static bNodeSocketType sh_node_math_in []
static bNodeSocketType sh_node_math_out []

Detailed Description

Definition in file SHD_math.c.


Function Documentation

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

Definition at line 201 of file SHD_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 ( ListBase lb)

Variable Documentation

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

Definition at line 39 of file SHD_math.c.

Initial value:
 { 
        { SOCK_VALUE, 0, "Value", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f}, 
        { -1, 0, "" } 
}

Definition at line 45 of file SHD_math.c.