How to use Custom Stencil for outline in 4.15?

Good day!

In 4.15 release Unreal staff added Custom Stencil on Mobile. But how to make the outline material? And what parameters Custom Stencil have? How to achieve similar effect?

I found this really helpful, I would assume the same works for mobile usage: