Blender V2.61 - r43446
Functions | Variables

node_composite_mixrgb.c File Reference

#include "node_composite_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 (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate cmp_node_mix_rgb_in []
static bNodeSocketTemplate cmp_node_mix_rgb_out []

Detailed Description

Definition in file node_composite_mixrgb.c.


Function Documentation

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

Definition at line 46 of file node_composite_mixrgb.c.

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

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 ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_FLOAT, 1, "Fac",           1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 5.0f, PROP_FACTOR},
    {   SOCK_RGBA, 1, "Image",          1.0f, 1.0f, 1.0f, 1.0f},
    {   SOCK_RGBA, 1, "Image",          1.0f, 1.0f, 1.0f, 1.0f},
    {   -1, 0, ""   }
}

Definition at line 35 of file node_composite_mixrgb.c.

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

Definition at line 41 of file node_composite_mixrgb.c.