Blender
V3.3
|
Classes | |
class | SocketSearchOp |
Functions | |
static void | sh_node_vector_math_declare (NodeDeclarationBuilder &b) |
static void | node_shader_buts_vect_math (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | sh_node_vector_math_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
static const char * | gpu_shader_get_name (int mode) |
static int | gpu_shader_vector_math (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
static void | node_shader_update_vector_math (bNodeTree *ntree, bNode *node) |
static const fn::MultiFunction * | get_multi_function (bNode &node) |
static void | sh_node_vector_math_build_multi_function (NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 228 of file node_shader_vector_math.cc.
References blender::StringRefNull::c_str(), node, blender::nodes::FloatMathOperationInfo::title_case_name, blender::nodes::try_dispatch_float_math_fl3_fl3_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_fl3_fl_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl(), blender::nodes::try_dispatch_float_math_fl3_fl3_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_fl_to_fl3(), blender::nodes::try_dispatch_float_math_fl3_to_fl(), and blender::nodes::try_dispatch_float_math_fl3_to_fl3().
Referenced by sh_node_vector_math_build_multi_function().
|
static |
Definition at line 77 of file node_shader_vector_math.cc.
References NODE_VECTOR_MATH_ABSOLUTE, NODE_VECTOR_MATH_ADD, NODE_VECTOR_MATH_CEIL, NODE_VECTOR_MATH_COSINE, NODE_VECTOR_MATH_CROSS_PRODUCT, NODE_VECTOR_MATH_DISTANCE, NODE_VECTOR_MATH_DIVIDE, NODE_VECTOR_MATH_DOT_PRODUCT, NODE_VECTOR_MATH_FACEFORWARD, NODE_VECTOR_MATH_FLOOR, NODE_VECTOR_MATH_FRACTION, NODE_VECTOR_MATH_LENGTH, NODE_VECTOR_MATH_MAXIMUM, NODE_VECTOR_MATH_MINIMUM, NODE_VECTOR_MATH_MODULO, NODE_VECTOR_MATH_MULTIPLY, NODE_VECTOR_MATH_MULTIPLY_ADD, NODE_VECTOR_MATH_NORMALIZE, NODE_VECTOR_MATH_PROJECT, NODE_VECTOR_MATH_REFLECT, NODE_VECTOR_MATH_REFRACT, NODE_VECTOR_MATH_SCALE, NODE_VECTOR_MATH_SINE, NODE_VECTOR_MATH_SNAP, NODE_VECTOR_MATH_SUBTRACT, NODE_VECTOR_MATH_TANGENT, and NODE_VECTOR_MATH_WRAP.
Referenced by gpu_shader_vector_math().
|
static |
Definition at line 142 of file node_shader_vector_math.cc.
References gpu_shader_get_name(), GPU_stack_link(), node, and usdtokens::out().
Referenced by register_node_type_sh_vect_math().
|
static |
Definition at line 31 of file node_shader_vector_math.cc.
References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().
Referenced by register_node_type_sh_vect_math().
|
static |
Definition at line 156 of file node_shader_vector_math.cc.
References BLI_findlink(), ELEM, node, node_sock_label(), node_sock_label_clear(), NODE_VECTOR_MATH_ABSOLUTE, NODE_VECTOR_MATH_CEIL, NODE_VECTOR_MATH_COSINE, NODE_VECTOR_MATH_DISTANCE, NODE_VECTOR_MATH_DOT_PRODUCT, NODE_VECTOR_MATH_FACEFORWARD, NODE_VECTOR_MATH_FLOOR, NODE_VECTOR_MATH_FRACTION, NODE_VECTOR_MATH_LENGTH, NODE_VECTOR_MATH_MULTIPLY_ADD, NODE_VECTOR_MATH_NORMALIZE, NODE_VECTOR_MATH_REFRACT, NODE_VECTOR_MATH_SCALE, NODE_VECTOR_MATH_SINE, NODE_VECTOR_MATH_SNAP, NODE_VECTOR_MATH_TANGENT, NODE_VECTOR_MATH_WRAP, nodeFindSocket(), nodeSetSocketAvailability(), ntree, SOCK_IN, and SOCK_OUT.
Referenced by register_node_type_sh_vect_math().
|
static |
Definition at line 307 of file node_shader_vector_math.cc.
References get_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), and blender::nodes::NodeMultiFunctionBuilder::set_matching_fn().
Referenced by register_node_type_sh_vect_math().
|
static |
Definition at line 20 of file node_shader_vector_math.cc.
References usdtokens::b(), min, and N_.
Referenced by register_node_type_sh_vect_math().
|
static |
Definition at line 48 of file node_shader_vector_math.cc.
References ELEM, EnumPropertyItem::identifier, IFACE_, NODE_VECTOR_MATH_DISTANCE, NODE_VECTOR_MATH_DOT_PRODUCT, NODE_VECTOR_MATH_LENGTH, params, rna_enum_node_vec_math_items, SOCK_OUT, SOCK_RGBA, and SOCK_VECTOR.
Referenced by register_node_type_sh_vect_math().