public override void Dispose()
        {
            base.Dispose();
            Shader.globalRenderPipeline = "";

            SupportedRenderingFeatures.active = new SupportedRenderingFeatures();

            CoreUtils.Destroy(m_ErrorMaterial);
            m_TextureUtil.Dispose();

#if UNITY_EDITOR
            SceneViewDrawMode.ResetDrawMode();
#endif
        }
        public static void SetRenderingFeatures()
        {
#if UNITY_EDITOR
            SupportedRenderingFeatures.active = new SupportedRenderingFeatures()
            {
                reflectionProbeSupportFlags            = SupportedRenderingFeatures.ReflectionProbeSupportFlags.None,
                defaultMixedLightingMode               = SupportedRenderingFeatures.LightmapMixedBakeMode.Subtractive,
                supportedMixedLightingModes            = SupportedRenderingFeatures.LightmapMixedBakeMode.Subtractive,
                supportedLightmapBakeTypes             = LightmapBakeType.Baked | LightmapBakeType.Mixed,
                supportedLightmapsModes                = LightmapsMode.CombinedDirectional | LightmapsMode.NonDirectional,
                rendererSupportsLightProbeProxyVolumes = false,
                rendererSupportsMotionVectors          = false,
                rendererSupportsReceiveShadows         = true,
                rendererSupportsReflectionProbes       = true
            };
            SceneViewDrawMode.SetupDrawMode();
#endif
        }