|
Blender V5.3
|
Classes | |
| class | SocketSearchOp |
Enumerations | |
| enum | BitMathOperation : int16_t { And = 0 , Or = 1 , Xor = 2 , Not = 3 , Shift = 4 , Rotate = 5 } |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | node_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
| static void | node_label (const bNodeTree *, const bNode *node, char *label, int label_maxncpy) |
| static const mf::MultiFunction * | get_multi_function (const bNode &bnode) |
| static void | node_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static const char * | gpu_shader_get_name (const BitMathOperation operation) |
| static int | node_gpu_material (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_rna (StructRNA *srna) |
| static void | node_register () |
Variables | |
| const std::array< EnumPropertyItem, 7 > | bit_math_operation_items |
| static constexpr int32_t | max_shift = sizeof(int32_t) * CHAR_BIT - 1 |
| static constexpr int32_t | min_shift = -max_shift |
| Enumerator | |
|---|---|
| And | |
| Or | |
| Xor | |
| Not | |
| Shift | |
| Rotate | |
Definition at line 27 of file node_fn_bit_math.cc.
|
static |
Definition at line 140 of file node_fn_bit_math.cc.
References And, BLI_assert_unreachable, blender::bNode::custom1, get_multi_function(), blender::fn::multi_function::registry::lookup(), Not, Or, Rotate, Shift, and Xor.
Referenced by get_multi_function(), and node_build_multi_function().
|
static |
Definition at line 167 of file node_fn_bit_math.cc.
References And, BLI_assert_unreachable, gpu_shader_get_name(), Not, Or, Rotate, Shift, and Xor.
Referenced by gpu_shader_get_name(), and node_gpu_material().
|
static |
Definition at line 161 of file node_fn_bit_math.cc.
References get_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), node_build_multi_function(), and blender::nodes::NodeMultiFunctionBuilder::set_matching_fn().
Referenced by node_build_multi_function(), and node_register().
|
static |
Definition at line 75 of file node_fn_bit_math.cc.
References b, ELEM, max_shift, min, min_shift, node, node_declare(), Not, Rotate, and Shift.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 108 of file node_fn_bit_math.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), bit_math_operation_items, IFACE_, blender::nodes::GatherLinkSearchOpParams::in_out(), is_integer(), node_gather_link_searches(), blender::nodes::GatherLinkSearchOpParams::node_tree(), blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::SOCK_INT, blender::SOCK_OUT, blender::bNodeSocket::type, blender::bNodeTree::typeinfo, and blender::bke::bNodeTreeType::validate_link.
Referenced by node_gather_link_searches(), and node_register().
|
static |
Definition at line 188 of file node_fn_bit_math.cc.
References And, BLI_assert_unreachable, blender::GPU_link(), blender::GPU_node_get_input_link(), blender::GPU_node_get_output(), gpu_shader_get_name(), blender::gpu::shader::metadata::in, node, node_gpu_material(), Not, Or, blender::gpu::shader::metadata::out, Rotate, Shift, and Xor.
Referenced by node_gpu_material(), and node_register().
|
static |
Definition at line 127 of file node_fn_bit_math.cc.
References bit_math_operation_items, blender::BLI_snprintf_utf8(), BLT_I18NCONTEXT_DEFAULT, IFACE_, node, node_label(), and blender::RNA_enum_name_gettexted().
Referenced by node_label(), and node_register().
|
static |
Definition at line 91 of file node_fn_bit_math.cc.
References node_layout(), blender::ui::Layout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 241 of file node_fn_bit_math.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::fn_cmp_node_type_base(), blender::bke::bNodeType::gather_link_search_ops, blender::bke::bNodeType::gpu_fn, blender::bke::bNodeType::labelfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, node_declare(), node_gather_link_searches(), node_gpu_material(), node_label(), node_layout(), node_register(), blender::bke::node_register_type(), node_rna(), blender::bke::bNodeType::rna_ext, blender::ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 229 of file node_fn_bit_math.cc.
References And, bit_math_operation_items, NOD_inline_enum_accessors, node_rna(), blender::nodes::RNA_def_node_enum(), blender::RNA_def_property_update_runtime(), and blender::rna_Node_socket_update().
Referenced by node_register(), and node_rna().
| const std::array<EnumPropertyItem, 7> blender::nodes::node_fn_bit_math_cc::bit_math_operation_items |
Definition at line 36 of file node_fn_bit_math.cc.
Referenced by node_gather_link_searches(), node_label(), and node_rna().
|
staticconstexpr |
Definition at line 72 of file node_fn_bit_math.cc.
Referenced by node_declare().
Definition at line 73 of file node_fn_bit_math.cc.
Referenced by node_declare().