|
Blender V4.5
|
Classes | |
| class | MagicFunction |
Functions | |
| static void | sh_node_tex_magic_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_tex_magic (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_tex_magic (bNodeTree *, bNode *node) |
| static int | node_shader_gpu_tex_magic (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | sh_node_magic_tex_build_multi_function (NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 32 of file node_shader_tex_magic.cc.
References node_shader_buts_tex_magic(), uiLayout::prop(), and UI_ITEM_R_SPLIT_EMPTY_NAME.
Referenced by node_shader_buts_tex_magic().
|
static |
Definition at line 47 of file node_shader_tex_magic.cc.
References NodeTexMagic::depth, GPU_constant(), GPU_stack_link(), in, node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_magic(), node_shader_gpu_tex_mapping(), out, and bNode::storage.
Referenced by node_shader_gpu_tex_magic().
|
static |
Definition at line 37 of file node_shader_tex_magic.cc.
References NodeTexMagic::base, BKE_texture_colormapping_default(), BKE_texture_mapping_default(), NodeTexBase::color_mapping, NodeTexMagic::depth, MEM_callocN(), node_shader_init_tex_magic(), bNode::storage, NodeTexBase::tex_mapping, and TEXMAP_TYPE_POINT.
Referenced by node_shader_init_tex_magic().
|
static |
Definition at line 171 of file node_shader_tex_magic.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), NodeTexMagic::depth, blender::nodes::NodeMultiFunctionBuilder::node(), sh_node_magic_tex_build_multi_function(), and bNode::storage.
Referenced by sh_node_magic_tex_build_multi_function().
|
static |
Definition at line 17 of file node_shader_tex_magic.cc.
References b, min, NODE_DEFAULT_INPUT_POSITION_FIELD, and sh_node_tex_magic_declare().
Referenced by sh_node_tex_magic_declare().