A simple way to add a MeshPass?

I want to set two material elements for one mesh.
One is the mesh material and another is a stroke material. (outline )
is there a simple way to add a MeshPass for my material? (maybe this should be called pipeline)
i don’t want to overlap two meshes for the result.


Use a layered material, put both maths into the same thing and outline the edge. Don’t use two materials, just one with both maths.

OR

Use this: Multi-color Outline Post Process - Tom Looman