|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | exec (void *data, bNode *node, bNodeStack **in, bNodeStack **UNUSED(out)) |
| void | register_node_type_tex_viewer (ListBase *lb) |
Variables | |
| static bNodeSocketType | inputs [] |
| static bNodeSocketType | outputs [] |
Definition in file TEX_viewer.c.
| static void exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | UNUSEDout | ||
| ) | [static] |
Definition at line 46 of file TEX_viewer.c.
References TexCallData::do_preview, params_from_cdata(), TexParams::previewco, tex_do_preview(), tex_input_rgba(), and TexCallData::thread.
Referenced by register_node_type_tex_viewer().
| void register_node_type_tex_viewer | ( | ListBase * | lb | ) |
Definition at line 60 of file TEX_viewer.c.
References exec(), NODE_CLASS_OUTPUT, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_size(), nodeRegisterType(), and TEX_NODE_VIEWER.
Referenced by registerTextureNodes().
bNodeSocketType inputs[] [static] |
{
{ SOCK_RGBA, 1, "Color", 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f },
{ -1, 0, "" }
}
Definition at line 38 of file TEX_viewer.c.
bNodeSocketType outputs[] [static] |
{
{ -1, 0, "" }
}
Definition at line 42 of file TEX_viewer.c.