|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | colorfn (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread) |
| static void | exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_tex_compose (ListBase *lb) |
Variables | |
| static bNodeSocketType | inputs [] |
| static bNodeSocketType | outputs [] |
Definition in file TEX_compose.c.
| static void colorfn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | UNUSEDnode, | ||
| bNodeStack ** | in, | ||
| short | thread | ||
| ) | [static] |
Definition at line 49 of file TEX_compose.c.
References i, and tex_input_value().
Referenced by exec().
| static void exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 56 of file TEX_compose.c.
References colorfn(), and tex_output().
Referenced by register_node_type_tex_compose().
| void register_node_type_tex_compose | ( | ListBase * | lb | ) |
Definition at line 61 of file TEX_compose.c.
References exec(), NODE_CLASS_OP_COLOR, node_type_base(), node_type_exec(), node_type_size(), nodeRegisterType(), and TEX_NODE_COMPOSE.
Referenced by registerTextureNodes().
bNodeSocketType inputs[] [static] |
{
{ SOCK_VALUE, 1, "Red", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f },
{ SOCK_VALUE, 1, "Green", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f },
{ SOCK_VALUE, 1, "Blue", 0.0f, 0.0f, 0.0f, 0.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 37 of file TEX_compose.c.
bNodeSocketType outputs[] [static] |
{
{ SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f },
{ -1, 0, "" }
}
Definition at line 44 of file TEX_compose.c.