|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | colorfn (float *out, TexParams *p, bNode *node, bNodeStack **in, short thread) |
| static void | exec (void *data, bNode *node, bNodeStack **in, bNodeStack **out) |
| void | register_node_type_tex_texture (ListBase *lb) |
Variables | |
| static bNodeSocketType | inputs [] |
| static bNodeSocketType | outputs [] |
Definition in file TEX_texture.c.
| static void colorfn | ( | float * | out, |
| TexParams * | p, | ||
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| short | thread | ||
| ) | [static] |
| static void exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 88 of file TEX_texture.c.
References colorfn(), and tex_output().
Referenced by register_node_type_tex_texture().
| void register_node_type_tex_texture | ( | ListBase * | lb | ) |
Definition at line 93 of file TEX_texture.c.
References exec(), NODE_CLASS_INPUT, NODE_OPTIONS, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_size(), nodeRegisterType(), and TEX_NODE_TEXTURE.
Referenced by registerTextureNodes().
bNodeSocketType inputs[] [static] |
{
{ SOCK_RGBA, 1, "Color1", 1.0f, 1.0f, 1.0f, 1.0f, 0.0f, 1.0f },
{ SOCK_RGBA, 1, "Color2", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f },
{ -1, 0, "" }
}
Definition at line 39 of file TEX_texture.c.
bNodeSocketType outputs[] [static] |
{
{ SOCK_RGBA, 0, "Color", 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f },
{ -1, 0, "" }
}
Definition at line 45 of file TEX_texture.c.