Blender
V3.3
|
Classes | |
class | SocketSearchOp |
class | ClampWrapperFunction |
Functions | |
static void | sh_node_math_declare (NodeDeclarationBuilder &b) |
static void | sh_node_math_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
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 fn::MultiFunction * | get_base_multi_function (bNode &node) |
static void | sh_node_math_build_multi_function (NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 105 of file node_shader_math.cc.
References blender::StringRefNull::c_str(), node, 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_build_multi_function().
|
static |
Definition at line 71 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 83 of file node_shader_math.cc.
References GPU_constant(), GPU_link(), gpu_shader_get_name(), GPU_stack_link(), max, min, node, usdtokens::out(), ret, and SHD_MATH_CLAMP.
Referenced by register_node_type_sh_math().
|
static |
Definition at line 169 of file node_shader_math.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), bNode::custom2, get_base_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), and blender::nodes::NodeMultiFunctionBuilder::set_matching_fn().
Referenced by register_node_type_sh_math().
|
static |
Definition at line 19 of file node_shader_math.cc.
References usdtokens::b(), and N_.
Referenced by register_node_type_sh_math().
|
static |
Definition at line 46 of file node_shader_math.cc.
References BLT_I18NCONTEXT_ID_NODETREE, CTX_IFACE_, ELEM, EnumPropertyItem::identifier, NODE_MATH_COMPARE, NODE_MATH_GREATER_THAN, NODE_MATH_LESS_THAN, NTREE_GEOMETRY, params, rna_enum_node_math_items, SOCK_BOOLEAN, SOCK_FLOAT, and SOCK_INT.
Referenced by register_node_type_sh_math().