|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *ptr) |
| 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_register () |
|
static |
Definition at line 43 of file node_fn_float_to_int.cc.
References BLI_assert_unreachable, ceil, bNode::custom1, floor, FN_NODE_FLOAT_TO_INT_CEIL, FN_NODE_FLOAT_TO_INT_FLOOR, FN_NODE_FLOAT_TO_INT_ROUND, FN_NODE_FLOAT_TO_INT_TRUNCATE, round, and trunc.
Referenced by node_build_multi_function().
|
static |
Definition at line 70 of file node_fn_float_to_int.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 30 of file node_fn_float_to_int.cc.
References BLI_strncpy_utf8(), BLT_I18NCONTEXT_ID_NODETREE, CTX_IFACE_, CTX_N_, bNode::custom1, name, RNA_enum_name(), and rna_enum_node_float_to_int_items.
Referenced by node_register().
|
static |
Definition at line 25 of file node_fn_float_to_int.cc.
References uiLayout::prop(), ptr, and UI_ITEM_NONE.
Referenced by node_register().
|
static |
Definition at line 76 of file node_fn_float_to_int.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, FN_NODE_FLOAT_TO_INT, fn_node_type_base(), blender::bke::bNodeType::labelfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, node_declare(), node_label(), node_layout(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.