16 b.add_output<
decl::Bool>(
"Selection").field_source_reference_all();
21 std::string name =
params.extract_input<std::string>(
"Name");
23 params.set_default_remaining_outputs();
28 std::make_shared<bke::NamedLayerSelectionFieldInput>(std::move(name))};
29 params.set_output(
"Selection", std::move(selection_field));
37 &ntype, GEO_NODE_INPUT_NAMED_LAYER_SELECTION,
"Named Layer Selection",
NODE_CLASS_INPUT);
#define NOD_REGISTER_NODE(REGISTER_FUNC)
local_group_size(16, 16) .push_constant(Type b
void node_register_type(bNodeType *ntype)
void geo_node_type_base(blender::bke::bNodeType *ntype, int type, const char *name, short nclass)
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare