Material functions as parameters in a Master Material

That feature does not exist right now. It has been requested but is not currently scheduled.