|
Blender V5.0
|
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 (uiLayout *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 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 |
| enum blender::nodes::node_fn_bit_math_cc::BitMathOperation : int16_t |
| Enumerator | |
|---|---|
| And | |
| Or | |
| Xor | |
| Not | |
| Shift | |
| Rotate | |
Definition at line 21 of file node_fn_bit_math.cc.
|
static |
Definition at line 136 of file node_fn_bit_math.cc.
References And, b, BLI_assert_unreachable, blender::math::clamp(), bNode::custom1, blender::math::mod_periodic(), Not, Or, Rotate, Shift, and Xor.
Referenced by node_build_multi_function().
|
static |
Definition at line 186 of file node_fn_bit_math.cc.
References get_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), and blender::nodes::NodeMultiFunctionBuilder::set_matching_fn().
Referenced by node_register().
|
static |
|
static |
Definition at line 102 of file node_fn_bit_math.cc.
References bit_math_operation_items, IFACE_, params, and SOCK_INT.
Referenced by node_register().
|
static |
Definition at line 121 of file node_fn_bit_math.cc.
References bit_math_operation_items, BLI_strncpy(), BLT_I18NCONTEXT_DEFAULT, bNode::custom1, IFACE_, name, RNA_enum_name_gettexted(), and SNPRINTF.
Referenced by node_register().
|
static |
Definition at line 85 of file node_fn_bit_math.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 204 of file node_fn_bit_math.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, fn_node_type_base(), blender::bke::bNodeType::gather_link_search_ops, blender::bke::bNodeType::labelfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, node_declare(), node_gather_link_searches(), node_label(), node_layout(), blender::bke::node_register_type(), node_rna(), blender::bke::bNodeType::rna_ext, ExtensionRNA::srna, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
Definition at line 192 of file node_fn_bit_math.cc.
References And, bit_math_operation_items, NOD_inline_enum_accessors, blender::nodes::RNA_def_node_enum(), RNA_def_property_update_runtime(), and rna_Node_socket_update().
Referenced by node_register().
| const std::array<EnumPropertyItem, 7> blender::nodes::node_fn_bit_math_cc::bit_math_operation_items |
Definition at line 30 of file node_fn_bit_math.cc.
Referenced by node_gather_link_searches(), node_label(), and node_rna().
|
staticconstexpr |
Definition at line 66 of file node_fn_bit_math.cc.
Referenced by node_declare().
Definition at line 67 of file node_fn_bit_math.cc.
Referenced by node_declare().