11 b.add_output<
decl::Int>(
"Material Index").field_source();
17 params.set_output(
"Material Index", std::move(material_index_field));
25 ntype.
ui_name =
"Material Index";
27 "Retrieve the index of the material used for each element in the geometry's list of "
#define GEO_NODE_INPUT_MATERIAL_INDEX
#define NOD_REGISTER_NODE(REGISTER_FUNC)
void node_register_type(bNodeType &ntype)
void geo_node_type_base(blender::bke::bNodeType *ntype, std::string idname, const std::optional< int16_t > legacy_type)
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare