Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/function/nodes/node_fn_boolean_math.cc
| Show All 22 Lines | |||||
| #include "UI_resources.h" | #include "UI_resources.h" | ||||
| #include "node_function_util.hh" | #include "node_function_util.hh" | ||||
| namespace blender::nodes { | namespace blender::nodes { | ||||
| static void fn_node_boolean_math_declare(NodeDeclarationBuilder &b) | static void fn_node_boolean_math_declare(NodeDeclarationBuilder &b) | ||||
| { | { | ||||
| b.is_function_node(); | |||||
| b.add_input<decl::Bool>("Boolean", "Boolean"); | b.add_input<decl::Bool>("Boolean", "Boolean"); | ||||
| b.add_input<decl::Bool>("Boolean", "Boolean_001"); | b.add_input<decl::Bool>("Boolean", "Boolean_001"); | ||||
| b.add_output<decl::Bool>("Boolean"); | b.add_output<decl::Bool>("Boolean"); | ||||
| }; | }; | ||||
| } // namespace blender::nodes | } // namespace blender::nodes | ||||
| static void fn_node_boolean_math_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | static void fn_node_boolean_math_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) | ||||
| ▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines | |||||