|
Blender V4.3
|
#include "BKE_node.hh"#include "node_texture_register.hh"#include "BLT_translation.hh"#include "RE_texture.h"Go to the source code of this file.
Classes | |
| struct | TexCallData |
| struct | TexParams |
| struct | TexDelegate |
Typedefs | |
| using | TexFn = void (*)(float *out, TexParams *params, bNode *node, bNodeStack **in, short thread) |
Definition at line 49 of file node_texture_util.hh.
| bool ntreeExecThreadNodes | ( | bNodeTreeExec * | exec, |
| bNodeThreadStack * | nts, | ||
| void * | callerdata, | ||
| int | thread ) |
Definition at line 185 of file node_texture_tree.cc.
References bNodeExec::data, exec(), MAX_SOCKET, bNodeExec::node, node, node_get_stack(), NODE_MUTED, and bNodeThreadStack::stack.
Referenced by group_execute(), and ntreeTexExecTree().
| bNodeThreadStack * ntreeGetThreadStack | ( | bNodeTreeExec * | exec, |
| int | thread ) |
Definition at line 158 of file node_texture_tree.cc.
References BLI_addtail(), exec(), ListBase::first, MEM_dupallocN, bNodeThreadStack::next, bNodeThreadStack::stack, and bNodeThreadStack::used.
Referenced by group_execute(), and ntreeTexExecTree().
| void ntreeReleaseThreadStack | ( | bNodeThreadStack * | nts | ) |
Definition at line 180 of file node_texture_tree.cc.
References bNodeThreadStack::used.
Referenced by group_execute(), and ntreeTexExecTree().
| bNodeTreeExec * ntreeTexBeginExecTree_internal | ( | bNodeExecContext * | context, |
| bNodeTree * | ntree, | ||
| bNodeInstanceKey | parent_key ) |
Definition at line 213 of file node_texture_tree.cc.
References BLENDER_MAX_THREADS, exec(), LISTBASE_FOREACH, and ntree_exec_begin().
Referenced by group_initexec(), and ntreeTexBeginExecTree().
| void ntreeTexEndExecTree_internal | ( | bNodeTreeExec * | exec | ) |
Definition at line 273 of file node_texture_tree.cc.
References BLENDER_MAX_THREADS, BLI_freelistN(), exec(), LISTBASE_FOREACH, MEM_freeN(), ntree_exec_end(), and tex_free_delegates().
Referenced by group_freeexec(), and ntreeTexEndExecTree().
| void params_from_cdata | ( | TexParams * | out, |
| TexCallData * | in ) |
Definition at line 100 of file node_texture_util.cc.
| void tex_input_rgba | ( | float * | out, |
| bNodeStack * | in, | ||
| TexParams * | params, | ||
| short | thread ) |
Definition at line 76 of file node_texture_util.cc.
References params, SOCK_FLOAT, SOCK_VECTOR, and tex_input().
Referenced by colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), exec(), exec(), rgb_colorfn(), rgbtobw_valuefn(), texfn(), valuefn_a(), valuefn_a(), valuefn_b(), valuefn_b(), valuefn_g(), valuefn_g(), valuefn_r(), and valuefn_r().
| float tex_input_value | ( | bNodeStack * | in, |
| TexParams * | params, | ||
| short | thread ) |
Definition at line 93 of file node_texture_util.cc.
References params, and tex_input_vec().
Referenced by clouds_map_inputs(), colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), colorfn(), 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 71 of file node_texture_util.cc.
References params, and tex_input().
Referenced by colorfn(), colorfn(), colorfn(), colorfn(), tex_input_value(), and valuefn().
| bool tex_node_poll_default | ( | const blender::bke::bNodeType * | ntype, |
| const bNodeTree * | ntree, | ||
| const char ** | r_disabled_hint ) |
Definition at line 32 of file node_texture_util.cc.
References bNodeTree::idname, RPT_, and STREQ.
Referenced by register_node_type_tex_group(), and tex_node_type_base().
| void tex_node_type_base | ( | blender::bke::bNodeType * | ntype, |
| int | type, | ||
| const char * | name, | ||
| short | nclass ) |
Definition at line 43 of file node_texture_util.cc.
References blender::bke::bNodeType::insert_link, node_insert_link_default(), blender::bke::node_type_base(), blender::bke::bNodeType::poll, and tex_node_poll_default().
Referenced by register_node_type_tex_at(), register_node_type_tex_bricks(), register_node_type_tex_checker(), register_node_type_tex_combine_color(), register_node_type_tex_compose(), register_node_type_tex_coord(), register_node_type_tex_curve_rgb(), register_node_type_tex_curve_time(), register_node_type_tex_decompose(), register_node_type_tex_distance(), register_node_type_tex_hue_sat(), register_node_type_tex_image(), register_node_type_tex_invert(), register_node_type_tex_math(), register_node_type_tex_mix_rgb(), register_node_type_tex_output(), register_node_type_tex_rgbtobw(), register_node_type_tex_rotate(), register_node_type_tex_scale(), register_node_type_tex_separate_color(), register_node_type_tex_texture(), register_node_type_tex_translate(), register_node_type_tex_valtonor(), register_node_type_tex_valtorgb(), and register_node_type_tex_viewer().
| void tex_output | ( | bNode * | node, |
| bNodeExecData * | execdata, | ||
| bNodeStack ** | in, | ||
| bNodeStack * | out, | ||
| TexFn | texfn, | ||
| TexCallData * | data ) |
Definition at line 111 of file node_texture_util.cc.
References TexDelegate::cdata, TexDelegate::fn, TexDelegate::in, MAX_SOCKET, node, TexDelegate::node, NODE_MUTED, bNodeExecData::preview, TexDelegate::preview, texfn(), and TexDelegate::type.
Referenced by exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), exec(), rgb_exec(), rgbtobw_exec(), time_exec(), and valtorgb_exec().