|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | node_composit_exec_setalpha (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_cmp_setalpha (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_setalpha_in [] |
| static bNodeSocketType | cmp_node_setalpha_out [] |
Definition in file CMP_setalpha.c.
| static void node_composit_exec_setalpha | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 48 of file CMP_setalpha.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit1_pixel_processor(), composit2_pixel_processor(), bNodeStack::data, do_copy_a_rgba(), do_copy_rgb(), NULL, bNodeStack::vec, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_setalpha().
| void register_node_type_cmp_setalpha | ( | ListBase * | lb | ) |
Definition at line 78 of file CMP_setalpha.c.
References CMP_NODE_SETALPHA, NODE_CLASS_CONVERTOR, node_composit_exec_setalpha(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_setalpha_in[] [static] |
{
{ SOCK_RGBA, 1, "Image", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 1, "Alpha", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file CMP_setalpha.c.
bNodeSocketType cmp_node_setalpha_out[] [static] |
{
{ SOCK_RGBA, 0, "Image", 0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file CMP_setalpha.c.