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

Go to the source code of this file.

Functions

static void do_mix_rgb (bNode *node, float *out, float *in1, float *in2, float *fac)
static void node_composit_exec_mix_rgb (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
void register_node_type_cmp_mix_rgb (ListBase *lb)

Variables

static bNodeSocketType cmp_node_mix_rgb_in []
static bNodeSocketType cmp_node_mix_rgb_out []

Detailed Description

Definition in file CMP_mixrgb.c.


Function Documentation

static void do_mix_rgb ( bNode node,
float *  out,
float *  in1,
float *  in2,
float *  fac 
) [static]

Definition at line 48 of file CMP_mixrgb.c.

References bNode::custom1, bNode::custom2, ramp_blend(), and VECCOPY.

Referenced by node_composit_exec_mix_rgb().

static void node_composit_exec_mix_rgb ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_cmp_mix_rgb ( ListBase lb)

Variable Documentation

Initial value:
 {
        {       SOCK_VALUE, 1, "Fac",                   0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 5.0f},
        {       SOCK_RGBA, 1, "Image",                  0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
        {       SOCK_RGBA, 1, "Image",                  0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 37 of file CMP_mixrgb.c.

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

Definition at line 43 of file CMP_mixrgb.c.