|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (ui::Layout &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 const char * | gpu_shader_get_name (const FloatToIntRoundingMode rounding_mode) |
| static int | node_gpu_material (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_register () |
|
static |
Definition at line 44 of file node_fn_float_to_int.cc.
References BLI_assert_unreachable, ceil, blender::bNode::custom1, floor, blender::FN_NODE_FLOAT_TO_INT_CEIL, blender::FN_NODE_FLOAT_TO_INT_FLOOR, blender::FN_NODE_FLOAT_TO_INT_ROUND, blender::FN_NODE_FLOAT_TO_INT_TRUNCATE, get_multi_function(), round, and trunc.
Referenced by get_multi_function(), and node_build_multi_function().
|
static |
Definition at line 77 of file node_fn_float_to_int.cc.
References BLI_assert_unreachable, blender::FN_NODE_FLOAT_TO_INT_CEIL, blender::FN_NODE_FLOAT_TO_INT_FLOOR, blender::FN_NODE_FLOAT_TO_INT_ROUND, blender::FN_NODE_FLOAT_TO_INT_TRUNCATE, and gpu_shader_get_name().
Referenced by gpu_shader_get_name(), and node_gpu_material().
|
static |
Definition at line 71 of file node_fn_float_to_int.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 19 of file node_fn_float_to_int.cc.
References b, and node_declare().
Referenced by node_declare(), and node_register().
|
static |
Definition at line 94 of file node_fn_float_to_int.cc.
References gpu_shader_get_name(), blender::GPU_stack_link(), blender::gpu::shader::metadata::in, node, node_gpu_material(), and blender::gpu::shader::metadata::out.
Referenced by node_gpu_material(), and node_register().
|
static |
Definition at line 31 of file node_fn_float_to_int.cc.
References blender::BLI_strncpy_utf8(), BLT_I18NCONTEXT_ID_NODETREE, CTX_IFACE_, CTX_N_, node, node_label(), blender::RNA_enum_name(), and blender::rna_enum_node_float_to_int_items.
Referenced by node_label(), and node_register().
|
static |
Definition at line 26 of file node_fn_float_to_int.cc.
References node_layout(), blender::ui::Layout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 109 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, blender::fn_cmp_node_type_base(), FN_NODE_FLOAT_TO_INT, blender::bke::bNodeType::gpu_fn, blender::bke::bNodeType::labelfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, node_declare(), node_gpu_material(), node_label(), node_layout(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().