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?

https://docs.unrealengine.com/latest/images/Support/Builds/ReleaseNotes/4_15/image_29.jpg

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