Blender V2.61 - r43446
|
#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 [] |
Definition in file node_composite_mixrgb.c.
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] |
Definition at line 59 of file node_composite_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 | ( | bNodeTreeType * | ttype | ) |
Definition at line 85 of file node_composite_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(), node_type_socket_templates(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketTemplate cmp_node_mix_rgb_in[] [static] |
{ { 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.
bNodeSocketTemplate cmp_node_mix_rgb_out[] [static] |
{ { SOCK_RGBA, 0, "Image"}, { -1, 0, "" } }
Definition at line 41 of file node_composite_mixrgb.c.