Blender  V2.59
Functions | Variables
CMP_mapValue.c File Reference
#include "../CMP_util.h"

Go to the source code of this file.

Functions

static void do_map_value (bNode *node, float *out, float *src)
static void node_composit_exec_map_value (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out)
static void node_composit_init_map_value (bNode *node)
void register_node_type_cmp_map_value (ListBase *lb)

Variables

static bNodeSocketType cmp_node_map_value_in []
static bNodeSocketType cmp_node_map_value_out []

Detailed Description

Definition in file CMP_mapValue.c.


Function Documentation

static void do_map_value ( bNode node,
float *  out,
float *  src 
) [static]
static void node_composit_exec_map_value ( void *  UNUSEDdata,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
static void node_composit_init_map_value ( bNode node) [static]

Definition at line 82 of file CMP_mapValue.c.

References add_mapping(), and bNode::storage.

Referenced by register_node_type_cmp_map_value().

void register_node_type_cmp_map_value ( ListBase lb)

Variable Documentation

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

Definition at line 38 of file CMP_mapValue.c.

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

Definition at line 42 of file CMP_mapValue.c.