MaterialMappingDescription defines the identifier / signature of a mapper within the registry. It defines the expected source and target material type and a factory for instantiation.
For example, a registration may look the following:
static GenericData g_myMappingRegistration;
{
description.
_source = maxon::NODESPACE::EXCHANGE::BUNDLE::VIEWPORTMATERIAL::GetId();
description.
_target = maxon::MATERIAL::PORTBUNDLE::STANDARDSURFACE::GetId();
description.
_class = GetClass();
g_myMappingRegistration = maxon::material::MaterialMappers::Register(GetDescriptor().GetId(), std::move(description))
iferr_return;
}