private void ReplaceData(PostProcessLayer postProcessLayer)
 {
     foreach (PostProcessEffectSettings baseSetting in m_BaseSettings)
     {
         PostProcessEffectSettings settings = postProcessLayer.GetBundle(baseSetting.GetType()).settings;
         int count = baseSetting.parameters.Count;
         for (int i = 0; i < count; i++)
         {
             settings.parameters[i].SetValue(baseSetting.parameters[i]);
         }
     }
 }
        // Faster version of OverrideSettings to force replace values in the global state
        private void ReplaceData(PostProcessLayer postProcessLayer)
        {
            foreach (var settings in m_BaseSettings)
            {
                var target = postProcessLayer.GetBundle(settings.GetType()).settings;
                var count  = settings.parameters.Count;

                for (var i = 0; i < count; i++)
                {
                    target.parameters[i].SetValue(settings.parameters[i]);
                }
            }
        }