|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| static const char * | gpu_shader_get_name (int mode) |
| static int | gpu_shader_math (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| static const blender::fn::MultiFunction & | get_base_multi_function (blender::nodes::NodeMFNetworkBuilder &builder) |
| static void | sh_node_math_expand_in_mf_network (blender::nodes::NodeMFNetworkBuilder &builder) |
| void | register_node_type_sh_math (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_math_in [] |
| static bNodeSocketTemplate | sh_node_math_out [] = {{SOCK_FLOAT, N_("Value")}, {-1, ""}} |
|
static |
Definition at line 72 of file node_shader_math.cc.
References blender::nodes::NodeMFNetworkBuilder::bnode(), bNode::custom1, blender::nodes::NodeMFNetworkBuilder::get_not_implemented_fn(), blender::nodes::FloatMathOperationInfo::title_case_name, blender::nodes::try_dispatch_float_math_fl_fl_fl_to_fl(), blender::nodes::try_dispatch_float_math_fl_fl_to_fl(), and blender::nodes::try_dispatch_float_math_fl_to_fl().
Referenced by sh_node_math_expand_in_mf_network().
|
static |
Definition at line 37 of file node_shader_math.cc.
References blender::StringRefNull::c_str(), blender::nodes::get_float_math_operation_info(), blender::StringRefBase::is_empty(), and blender::nodes::FloatMathOperationInfo::shader_name.
Referenced by gpu_shader_math().
|
static |
Definition at line 50 of file node_shader_math.cc.
References GPU_constant(), GPU_link(), gpu_shader_get_name(), GPU_stack_link(), max, min, node, ret, and SHD_MATH_CLAMP.
Referenced by register_node_type_sh_math().
| void register_node_type_sh_math | ( | void | ) |
Definition at line 138 of file node_shader_math.cc.
References bNodeType::expand_in_mf_network, gpu_shader_math(), NODE_CLASS_CONVERTOR, node_math_label(), node_math_update(), node_type_gpu(), node_type_label(), node_type_socket_templates(), node_type_update(), nodeRegisterType(), sh_fn_node_type_base(), SH_NODE_MATH, sh_node_math_expand_in_mf_network(), sh_node_math_in, and sh_node_math_out.
Referenced by registerShaderNodes().
|
static |
Definition at line 111 of file node_shader_math.cc.
References blender::nodes::MFNetworkTreeMap::add(), blender::fn::MFNetwork::add_function(), blender::fn::MFNetwork::add_link(), blender::nodes::MFNetworkTreeMap::add_try_match(), blender::nodes::NodeMFNetworkBuilder::bnode(), CLAMP, blender::nodes::DNode::context(), bNode::custom2, blender::nodes::NodeMFNetworkBuilder::dnode(), get_base_multi_function(), blender::fn::MFNode::input(), blender::fn::MFNode::inputs(), blender::nodes::NodeRef::inputs(), blender::nodes::MFNetworkBuilderBase::network(), blender::nodes::MFNetworkBuilderBase::network_map(), blender::fn::MFNode::output(), and blender::nodes::NodeRef::output().
Referenced by register_node_type_sh_math().
|
static |
Definition at line 29 of file node_shader_math.cc.
Referenced by register_node_type_sh_math().
|
static |
Definition at line 35 of file node_shader_math.cc.
Referenced by register_node_type_sh_math().