I'm trying to build an extensible program where users, among other things, can build their own shader effects.
Google searching got me this far;
class Test(ShaderEffect):
inputProperty = ShaderEffect.RegisterPixelShaderSamplerProperty("Input", type(Test()), 0)
But I still get the error;
TypeError: cannot access protected member RegisterPixelShaderSamplerProperty without a python subclass of ShaderEffect.
Any help would be greatly appreciated.
The best source on the net I could find is linked here