Blender V2.61 - r43446
|
#include "node_composite_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 (bNodeTreeType *ttype) |
Variables | |
static bNodeSocketTemplate | cmp_node_setalpha_in [] |
static bNodeSocketTemplate | cmp_node_setalpha_out [] |
Definition in file node_composite_setalpha.c.
static void node_composit_exec_setalpha | ( | void * | UNUSEDdata, |
bNode * | node, | ||
bNodeStack ** | in, | ||
bNodeStack ** | out | ||
) | [static] |
Definition at line 46 of file node_composite_setalpha.c.
References alloc_compbuf(), CB_RGBA, CB_VAL, composit1_pixel_processor(), composit2_pixel_processor(), bNodeStack::data, 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 | ( | bNodeTreeType * | ttype | ) |
Definition at line 76 of file node_composite_setalpha.c.
References CMP_NODE_SETALPHA, NODE_CLASS_CONVERTOR, node_composit_exec_setalpha(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_size(), node_type_socket_templates(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketTemplate cmp_node_setalpha_in[] [static] |
{ { SOCK_RGBA, 1, "Image", 0.0f, 0.0f, 0.0f, 1.0f}, { SOCK_FLOAT, 1, "Alpha", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE}, { -1, 0, "" } }
Definition at line 36 of file node_composite_setalpha.c.
bNodeSocketTemplate cmp_node_setalpha_out[] [static] |
{ { SOCK_RGBA, 0, "Image"}, { -1, 0, "" } }
Definition at line 41 of file node_composite_setalpha.c.