Ok, but if RS can call it, when and how does it?
Call just once... makes no sense, because the effect calls once per pixel at least, on every frame.
Why would RS call it in a different context?

What do you mean not fully functional?
Is it partially functional?
How so?