|
Blender
V2.59
|
Go to the source code of this file.
Defines | |
| #define | PREV_RES 128 |
Functions | |
| void | tex_call_delegate (TexDelegate *dg, float *out, TexParams *params, short thread) |
| static void | tex_input (float *out, int sz, bNodeStack *in, TexParams *params, short thread) |
| void | tex_input_vec (float *out, bNodeStack *in, TexParams *params, short thread) |
| void | tex_input_rgba (float *out, bNodeStack *in, TexParams *params, short thread) |
| float | tex_input_value (bNodeStack *in, TexParams *params, short thread) |
| void | params_from_cdata (TexParams *out, TexCallData *in) |
| void | tex_do_preview (bNode *node, float *co, float *col) |
| void | tex_output (bNode *node, bNodeStack **in, bNodeStack *out, TexFn texfn, TexCallData *cdata) |
| void | ntreeTexCheckCyclics (struct bNodeTree *ntree) |
| int | ntreeTexExecTree (bNodeTree *nodes, TexResult *texres, float *co, float *dxt, float *dyt, int osatex, short thread, Tex *UNUSED(tex), short which_output, int cfra, int preview, ShadeInput *shi, MTex *mtex) |
Definition in file TEX_util.c.
| #define PREV_RES 128 |
Definition at line 53 of file TEX_util.c.
| void ntreeTexCheckCyclics | ( | struct bNodeTree * | ntree | ) |
Definition at line 147 of file TEX_util.c.
References bNode::custom1, bNode::custom2, ListBase::first, bNode::id, bNode::next, bNodeTree::nodes, Tex::nodetree, ntreeTexCheckCyclics(), TEX_NODE_TEXTURE, bNode::type, and Tex::use_nodes.
Referenced by ED_node_generic_update(), node_add_node(), and ntreeTexCheckCyclics().
| int ntreeTexExecTree | ( | bNodeTree * | nodes, |
| TexResult * | texres, | ||
| float * | co, | ||
| float * | dxt, | ||
| float * | dyt, | ||
| int | osatex, | ||
| short | thread, | ||
| Tex * | UNUSEDtex, | ||
| short | which_output, | ||
| int | cfra, | ||
| int | preview, | ||
| ShadeInput * | shi, | ||
| MTex * | mtex | ||
| ) |
Definition at line 174 of file TEX_util.c.
References TexCallData::cfra, TexCallData::co, co, TexCallData::do_preview, TexCallData::dxt, TexCallData::dyt, TexCallData::mtex, TexResult::nor, ntreeExecTree(), TexCallData::osatex, TexCallData::shi, TexCallData::target, TEX_INT, TEX_NOR, TEX_RGB, TexCallData::thread, and TexCallData::which_output.
| void params_from_cdata | ( | TexParams * | out, |
| TexCallData * | in | ||
| ) |
Definition at line 107 of file TEX_util.c.
References TexCallData::cfra, TexParams::cfra, TexCallData::co, TexParams::co, TexCallData::dxt, TexParams::dxt, TexCallData::dyt, TexParams::dyt, TexCallData::mtex, TexParams::mtex, TexCallData::osatex, TexParams::osatex, TexParams::previewco, TexCallData::shi, and TexParams::shi.
Referenced by exec().
| void tex_call_delegate | ( | TexDelegate * | dg, |
| float * | out, | ||
| TexParams * | params, | ||
| short | thread | ||
| ) |
Definition at line 55 of file TEX_util.c.
References TexDelegate::cdata, TexCallData::do_preview, TexDelegate::fn, TexDelegate::in, bNode::need_exec, TexDelegate::node, TexParams::previewco, and tex_do_preview().
Referenced by tex_input().
| void tex_do_preview | ( | bNode * | node, |
| float * | co, | ||
| float * | col | ||
| ) |
Definition at line 119 of file TEX_util.c.
References nodeAddToPreview(), bNode::preview, bNodePreview::xsize, and bNodePreview::ysize.
Referenced by exec(), and tex_call_delegate().
| static void tex_input | ( | float * | out, |
| int | sz, | ||
| bNodeStack * | in, | ||
| TexParams * | params, | ||
| short | thread | ||
| ) | [static] |
Definition at line 65 of file TEX_util.c.
References bNodeStack::data, bNodeStack::hasoutput, SOCK_VALUE, bNodeStack::sockettype, tex_call_delegate(), and bNodeStack::vec.
Referenced by tex_input_rgba(), and tex_input_vec().
| void tex_input_rgba | ( | float * | out, |
| bNodeStack * | in, | ||
| TexParams * | params, | ||
| short | thread | ||
| ) |
Definition at line 82 of file TEX_util.c.
References bNodeStack::hasoutput, SOCK_VALUE, SOCK_VECTOR, bNodeStack::sockettype, and tex_input().
Referenced by colorfn(), exec(), rgb_colorfn(), rgbtobw_valuefn(), texfn(), valuefn_a(), valuefn_b(), valuefn_g(), and valuefn_r().
| float tex_input_value | ( | bNodeStack * | in, |
| TexParams * | params, | ||
| short | thread | ||
| ) |
Definition at line 100 of file TEX_util.c.
References tex_input_vec().
Referenced by clouds_map_inputs(), colorfn(), distnoise_map_inputs(), magic_map_inputs(), marble_map_inputs(), musgrave_map_inputs(), normalfn(), stucci_map_inputs(), valtorgb_colorfn(), valuefn(), voronoi_map_inputs(), and wood_map_inputs().
| void tex_input_vec | ( | float * | out, |
| bNodeStack * | in, | ||
| TexParams * | params, | ||
| short | thread | ||
| ) |
Definition at line 77 of file TEX_util.c.
References tex_input().
Referenced by colorfn(), exec(), tex_input_value(), and valuefn().
| void tex_output | ( | bNode * | node, |
| bNodeStack ** | in, | ||
| bNodeStack * | out, | ||
| TexFn | texfn, | ||
| TexCallData * | cdata | ||
| ) |
Definition at line 131 of file TEX_util.c.
References TexDelegate::cdata, bNodeStack::data, TexDelegate::fn, TexDelegate::in, MAX_SOCKET, MEM_mallocN(), TexDelegate::node, bNodeStack::sockettype, texfn(), and TexDelegate::type.
Referenced by exec(), rgb_exec(), rgbtobw_exec(), time_exec(), and valtorgb_exec().