|
Blender
V2.59
|
#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 [] |
Definition in file CMP_mixrgb.c.
| 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] |
Definition at line 61 of file CMP_mixrgb.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit3_pixel_processor(), bNodeStack::data, do_mix_rgb(), generate_preview(), NULL, bNodeStack::vec, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_mix_rgb().
| void register_node_type_cmp_mix_rgb | ( | ListBase * | lb | ) |
Definition at line 87 of file CMP_mixrgb.c.
References CMP_NODE_MIX_RGB, node_blend_label(), NODE_CLASS_OP_COLOR, node_composit_exec_mix_rgb(), NODE_OPTIONS, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_label(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_mix_rgb_in[] [static] |
{
{ 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.
bNodeSocketType cmp_node_mix_rgb_out[] [static] |
{
{ 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.