Blender  V2.59
Functions | Variables
TEX_curves.c File Reference
#include "../TEX_util.h"
#include "TEX_node.h"

Go to the source code of this file.

Functions

static void time_colorfn (float *out, TexParams *p, bNode *node, bNodeStack **UNUSED(in), short UNUSED(thread))
static void time_exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
static void time_init (bNode *node)
void register_node_type_tex_curve_time (ListBase *lb)
static void rgb_colorfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread)
static void rgb_exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
static void rgb_init (bNode *node)
void register_node_type_tex_curve_rgb (ListBase *lb)

Variables

static bNodeSocketType time_outputs []
static bNodeSocketType rgb_inputs []
static bNodeSocketType rgb_outputs []

Detailed Description

Definition in file TEX_curves.c.


Function Documentation

void register_node_type_tex_curve_rgb ( ListBase lb)
void register_node_type_tex_curve_time ( ListBase lb)
static void rgb_colorfn ( float *  out,
TexParams p,
bNode node,
bNodeStack **  in,
short  thread 
) [static]

Definition at line 95 of file TEX_curves.c.

References curvemapping_evaluateRGBF(), bNode::storage, and tex_input_rgba().

Referenced by rgb_exec().

static void rgb_exec ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]

Definition at line 104 of file TEX_curves.c.

References rgb_colorfn(), and tex_output().

Referenced by register_node_type_tex_curve_rgb().

static void rgb_init ( bNode node) [static]

Definition at line 109 of file TEX_curves.c.

References curvemapping_add(), and bNode::storage.

Referenced by register_node_type_tex_curve_rgb().

static void time_colorfn ( float *  out,
TexParams p,
bNode node,
bNodeStack **  UNUSEDin,
short   UNUSEDthread 
) [static]
static void time_exec ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]

Definition at line 57 of file TEX_curves.c.

References tex_output(), and time_colorfn().

Referenced by register_node_type_tex_curve_time().

static void time_init ( bNode node) [static]

Variable Documentation

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

Definition at line 85 of file TEX_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 90 of file TEX_curves.c.

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

Definition at line 40 of file TEX_curves.c.