macro_rules! material_combine { ($Combine:ident { $( $field:ident : $Material:ty ),+ $(,)? }) => { ... }; }
The macro for combining materials.
You can read more about the technique here.