GraphicsConfig.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. namespace Ryujinx.Graphics.Gpu
  2. {
  3. /// <summary>
  4. /// General GPU and graphics configuration.
  5. /// </summary>
  6. public static class GraphicsConfig
  7. {
  8. /// <summary>
  9. /// Resolution scale.
  10. /// </summary>
  11. public static float ResScale = 1f;
  12. /// <summary>
  13. /// Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.
  14. /// </summary>
  15. public static float MaxAnisotropy;
  16. /// <summary>
  17. /// Base directory used to write shader code dumps.
  18. /// Set to null to disable code dumping.
  19. /// </summary>
  20. public static string ShadersDumpPath;
  21. /// <summary>
  22. /// Fast GPU time calculates the internal GPU time ticks as if the GPU was capable of
  23. /// processing commands almost instantly, instead of using the host timer.
  24. /// This can avoid lower resolution on some games when GPU performance is poor.
  25. /// </summary>
  26. public static bool FastGpuTime = true;
  27. /// <summary>
  28. /// Enables or disables the Just-in-Time compiler for GPU Macro code.
  29. /// </summary>
  30. public static bool EnableMacroJit = true;
  31. }
  32. }