Blender  V2.59
Functions | Variables
SHD_curves.c File Reference
#include "../SHD_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_curve_vec (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_shader_init_curve_vec (bNode *node)
static int gpu_shader_curve_vec (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_curve_vec (ListBase *lb)
static void node_shader_exec_curve_rgb (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_shader_init_curve_rgb (bNode *node)
static int gpu_shader_curve_rgb (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_curve_rgb (ListBase *lb)

Variables

static bNodeSocketType sh_node_curve_vec_in []
static bNodeSocketType sh_node_curve_vec_out []
static bNodeSocketType sh_node_curve_rgb_in []
static bNodeSocketType sh_node_curve_rgb_out []

Detailed Description

Definition in file SHD_curves.c.


Function Documentation

static int gpu_shader_curve_rgb ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static int gpu_shader_curve_vec ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_exec_curve_rgb ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_shader_exec_curve_vec ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_shader_init_curve_rgb ( bNode node) [static]

Definition at line 115 of file SHD_curves.c.

References curvemapping_add(), and bNode::storage.

Referenced by register_node_type_sh_curve_rgb().

static void node_shader_init_curve_vec ( bNode node) [static]

Definition at line 60 of file SHD_curves.c.

References curvemapping_add(), and bNode::storage.

Referenced by register_node_type_sh_curve_vec().

void register_node_type_sh_curve_rgb ( ListBase lb)
void register_node_type_sh_curve_vec ( ListBase lb)

Variable Documentation

Initial value:
 {
        {       SOCK_VALUE, 1, "Fac",   1.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
        {       SOCK_RGBA, 1, "Color",  0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 91 of file SHD_curves.c.

Initial value:
 {
        {       SOCK_RGBA, 0, "Color",  0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 97 of file SHD_curves.c.

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

Definition at line 39 of file SHD_curves.c.

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

Definition at line 45 of file SHD_curves.c.