|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| static void | exec (void *data, bNode *node, bNodeStack **in, bNodeStack **UNUSED(out)) |
| static void | unique_name (bNode *node) |
| static void | assign_index (struct bNode *node) |
| static void | init (bNode *node) |
| static void | copy (bNode *orig, bNode *new) |
| void | register_node_type_tex_output (ListBase *lb) |
Variables | |
| static bNodeSocketType | inputs [] |
Definition in file TEX_output.c.
| static void assign_index | ( | struct bNode * | node | ) | [static] |
Definition at line 124 of file TEX_output.c.
References bNode::custom1, ImBuf::index, bNode::next, bNode::prev, TEX_NODE_OUTPUT, and bNode::type.
Definition at line 154 of file TEX_output.c.
References assign_index(), node_copy_standard_storage(), and unique_name().
Referenced by BSP_CSGMesh::AddPolygon(), TransformReader::get_node_mat(), IDP_ReplaceGroupInGroup(), IDP_SyncGroupValues(), makebody_tga(), p_split_vert(), register_node_type_tex_output(), smoothedge_copy(), smoothvert_copy(), WM_dropbox_add(), and wm_save_as_mainfile_exec().
| static void exec | ( | void * | data, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | UNUSEDout | ||
| ) | [static] |
Definition at line 45 of file TEX_output.c.
References TexParams::co, bNode::custom1, TexCallData::do_preview, TexResult::nor, NULL, params_from_cdata(), TexResult::talpha, TexCallData::target, TexResult::tb, tex_do_preview(), tex_input_rgba(), tex_input_vec(), TexResult::tg, TexCallData::thread, TexResult::tin, TexResult::tr, and TexCallData::which_output.
Referenced by register_node_type_tex_output().
| static void init | ( | bNode * | node | ) | [static] |
Definition at line 144 of file TEX_output.c.
References assign_index(), MEM_callocN(), TexNodeOutput::name, bNode::storage, and unique_name().
| void register_node_type_tex_output | ( | ListBase * | lb | ) |
Definition at line 161 of file TEX_output.c.
References copy(), exec(), init(), NODE_CLASS_OUTPUT, node_free_standard_storage(), NODE_OPTIONS, NODE_PREVIEW, node_type_base(), node_type_exec(), node_type_init(), node_type_size(), node_type_storage(), nodeRegisterType(), NULL, and TEX_NODE_OUTPUT.
Referenced by registerTextureNodes().
| static void unique_name | ( | bNode * | node | ) | [static] |
Definition at line 81 of file TEX_output.c.
References i, MEM_freeN(), MEM_mallocN(), ImBuf::name, TexNodeOutput::name, NULL, bNode::storage, and TEX_NODE_OUTPUT.
bNodeSocketType inputs[] [static] |
{
{ SOCK_RGBA, 1, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_VECTOR, 1, "Normal", 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file TEX_output.c.