|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | valtorgb_colorfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread) |
| static void | valtorgb_exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | valtorgb_init (bNode *node) |
| void | register_node_type_tex_valtorgb (ListBase *lb) |
| static void | rgbtobw_valuefn (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread) |
| static void | rgbtobw_exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_tex_rgbtobw (ListBase *lb) |
Variables | |
| static bNodeSocketType | valtorgb_in [] |
| static bNodeSocketType | valtorgb_out [] |
| static bNodeSocketType | rgbtobw_in [] |
| static bNodeSocketType | rgbtobw_out [] |
Definition in file TEX_valToRgb.c.
| void register_node_type_tex_rgbtobw | ( | ListBase * | lb | ) |
Definition at line 105 of file TEX_valToRgb.c.
References NODE_CLASS_CONVERTOR, node_type_base(), node_type_exec(), node_type_size(), nodeRegisterType(), rgbtobw_exec(), and TEX_NODE_RGBTOBW.
Referenced by registerTextureNodes().
| void register_node_type_tex_valtorgb | ( | ListBase * | lb | ) |
Definition at line 67 of file TEX_valToRgb.c.
References NODE_CLASS_CONVERTOR, 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(), nodeRegisterType(), TEX_NODE_VALTORGB, valtorgb_exec(), and valtorgb_init().
Referenced by registerTextureNodes().
| static void rgbtobw_exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 100 of file TEX_valToRgb.c.
References rgbtobw_valuefn(), and tex_output().
Referenced by register_node_type_tex_rgbtobw().
| static void rgbtobw_valuefn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | UNUSEDnode, | ||
| bNodeStack ** | in, | ||
| short | thread | ||
| ) | [static] |
Definition at line 92 of file TEX_valToRgb.c.
References tex_input_rgba().
Referenced by rgbtobw_exec().
| static void valtorgb_colorfn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| short | thread | ||
| ) | [static] |
Definition at line 48 of file TEX_valToRgb.c.
References do_colorband(), bNode::storage, and tex_input_value().
Referenced by valtorgb_exec().
| static void valtorgb_exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 57 of file TEX_valToRgb.c.
References tex_output(), and valtorgb_colorfn().
Referenced by register_node_type_tex_valtorgb().
| static void valtorgb_init | ( | bNode * | node | ) | [static] |
Definition at line 62 of file TEX_valToRgb.c.
References add_colorband(), and bNode::storage.
Referenced by register_node_type_tex_valtorgb().
bNodeSocketType rgbtobw_in[] [static] |
{
{ SOCK_RGBA, 1, "Color", 0.5f, 0.5f, 0.5f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 82 of file TEX_valToRgb.c.
bNodeSocketType rgbtobw_out[] [static] |
{
{ SOCK_VALUE, 0, "Val", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 86 of file TEX_valToRgb.c.
bNodeSocketType valtorgb_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 39 of file TEX_valToRgb.c.
bNodeSocketType valtorgb_out[] [static] |
{
{ SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file TEX_valToRgb.c.