private void EnableGlobalHooks()
        {
            var e = CameraPool.GetEnumerator();

            while (e.MoveNext())
            {
                GlobalPostProcessorHook.EnableHook(e.Current);
            }
            _dirty = false;
        }
 private void OnRegistered(object sender, CameraRegistrationEvent e)
 {
     if (_globalEffects.Count > 0)
     {
         GlobalPostProcessorHook.EnableHook(e.Camera);
     }
     else
     {
         _dirty = true;
     }
 }