2
0

FXAAGreenLumaLowEffect.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #region License
  2. // Copyright 2013-2016 Kastellanos Nikolaos
  3. //
  4. // Licensed under the Apache License, Version 2.0 (the "License");
  5. // you may not use this file except in compliance with the License.
  6. // You may obtain a copy of the License at
  7. //
  8. // http://www.apache.org/licenses/LICENSE-2.0
  9. //
  10. // Unless required by applicable law or agreed to in writing, software
  11. // distributed under the License is distributed on an "AS IS" BASIS,
  12. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. // See the License for the specific language governing permissions and
  14. // limitations under the License.
  15. #endregion
  16. using System;
  17. using Microsoft.Xna.Framework.Graphics;
  18. namespace tainicom.Aether.Shaders
  19. {
  20. public class FXAAGreenLumaLowEffect : FXAAEffect
  21. {
  22. #if ((MG && WINDOWS) || W8_1 || W10)
  23. static readonly String resourceName = "tainicom.Aether.Shaders.Resources.FXAAGreenLumaLow.dx11.mgfxo";
  24. #elif (XNA && WINDOWS)
  25. static readonly String resourceName = "tainicom.Aether.Shaders.Resources.FXAAGreenLumaLow.xna.WinHiDef";
  26. #endif
  27. public FXAAGreenLumaLowEffect(GraphicsDevice graphicsDevice)
  28. : base(graphicsDevice, LoadEffectResource(resourceName))
  29. {
  30. }
  31. }
  32. }