How to pass custom parameters to a SCNTechnique

I'd like to pass a value to change the fragment metal shader behavior on a SCNTechnique, for example, a boolean "isMirrored" to cause the image to be mirrored.

How do I do that? please note I'm using Metal, I've seen examples using GL, but those didn't help much.


Thank you,

Fabricio