|
Blender
V2.59
|
#include "../CMP_util.h"Go to the source code of this file.
Functions | |
| static void | do_map_value (bNode *node, float *out, float *src) |
| static void | node_composit_exec_map_value (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_composit_init_map_value (bNode *node) |
| void | register_node_type_cmp_map_value (ListBase *lb) |
Variables | |
| static bNodeSocketType | cmp_node_map_value_in [] |
| static bNodeSocketType | cmp_node_map_value_out [] |
Definition in file CMP_mapValue.c.
| static void do_map_value | ( | bNode * | node, |
| float * | out, | ||
| float * | src | ||
| ) | [static] |
Definition at line 47 of file CMP_mapValue.c.
References TexMapping::flag, TexMapping::loc, TexMapping::max, TexMapping::min, TexMapping::size, bNode::storage, TEXMAP_CLIP_MAX, and TEXMAP_CLIP_MIN.
Referenced by node_composit_exec_map_value().
| static void node_composit_exec_map_value | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 60 of file CMP_mapValue.c.
References alloc_compbuf(), CB_VAL, composit1_pixel_processor(), bNodeStack::data, do_map_value(), NULL, CompBuf::x, and CompBuf::y.
Referenced by register_node_type_cmp_map_value().
| static void node_composit_init_map_value | ( | bNode * | node | ) | [static] |
Definition at line 82 of file CMP_mapValue.c.
References add_mapping(), and bNode::storage.
Referenced by register_node_type_cmp_map_value().
| void register_node_type_cmp_map_value | ( | ListBase * | lb | ) |
Definition at line 87 of file CMP_mapValue.c.
References CMP_NODE_MAP_VALUE, NODE_CLASS_OP_VECTOR, node_composit_exec_map_value(), node_composit_init_map_value(), node_copy_standard_storage(), node_free_standard_storage(), NODE_OPTIONS, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_storage(), and nodeRegisterType().
Referenced by registerCompositNodes().
bNodeSocketType cmp_node_map_value_in[] [static] |
{
{ SOCK_VALUE, 1, "Value", 1.0f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file CMP_mapValue.c.
bNodeSocketType cmp_node_map_value_out[] [static] |
{
{ SOCK_VALUE, 0, "Value", 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 42 of file CMP_mapValue.c.