void OnEnable() { if (!shouldRunScript()) { return; } NativePluginBridge.setApiState((int)NativePluginBridge.ApiStates.SendNDI); CreateTextureGetterAndRegister(); }
private void OnEnable() { if (!Utils.isRendererMetal()) { return; } NativePluginBridge.setApiState((int)NativePluginBridge.ApiStates.SendSyphonMetal); metalBlitShader = Shader.Find("UVO/Standalone/MetalBlit"); CreateTextureGetterAndRegister(); }
private void OnEnable() { if (!Utils.isRendererOpenGLCore()) { return; } NativePluginBridge.setApiState((int)NativePluginBridge.ApiStates.SendSyphonGLCore); gammaShader = Shader.Find("UVO/Standalone/CoreGammaCorrect"); lazyInit(); CreateTextureGetterAndRegister(); }
void OnEnable() { NativePluginBridge.setApiState((int)NativePluginBridge.ApiStates.SendSpout); CreateTextureGetterAndRegister(); }