Unity.OsvrRenderManager.IsRenderManagerSupported C# (CSharp) Method

IsRenderManagerSupported() public method

public IsRenderManagerSupported ( ) : bool
return bool
            public bool IsRenderManagerSupported()
            {
                bool support = true;
                #if UNITY_ANDROID
                Debug.Log("RenderManager not yet supported on Android.");
                support = false;
                #endif
                if (!SystemInfo.graphicsDeviceVersion.Contains("OpenGL") && !SystemInfo.graphicsDeviceVersion.Contains("Direct3D 11"))
                {
                    Debug.LogError("RenderManager not supported on " +
                        SystemInfo.graphicsDeviceVersion + ". Only Direct3D11 is currently supported.");
                    support = false;
                }

                if (!SystemInfo.supportsRenderTextures)
                {
                    Debug.LogError("RenderManager not supported. RenderTexture (Unity Pro feature) is unavailable.");
                    support = false;
                }
                if (!IsUnityVersionSupported())
                {
                    Debug.LogError("RenderManager not supported. Unity 5.2+ is required for RenderManager support.");
                    support = false;
                }
                return support;
            }