9 b.add_output<
decl::Int>(
N_(
"Material Index")).field_source();
14 Field<int> material_index_field = AttributeFieldInput::Create<int>(
"material_index");
15 params.set_output(
"Material Index", std::move(material_index_field));
#define GEO_NODE_INPUT_MATERIAL_INDEX
void nodeRegisterType(struct bNodeType *ntype)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
void geo_node_type_base(bNodeType *ntype, int type, const char *name, short nclass)
NodeGeometryExecFunction geometry_node_execute
NodeDeclareFunction declare