GraphicsConfig.cs 905 B

1234567891011121314151617181920212223242526
  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. /// Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.
  10. /// </summary>
  11. public static float MaxAnisotropy;
  12. /// <summary>
  13. /// Base directory used to write shader code dumps.
  14. /// Set to null to disable code dumping.
  15. /// </summary>
  16. public static string ShadersDumpPath;
  17. /// <summary>
  18. /// Fast GPU time calculates the internal GPU time ticks as if the GPU was capable of
  19. /// processing commands almost instantly, instead of using the host timer.
  20. /// This can avoid lower resolution on some games when GPU performance is poor.
  21. /// </summary>
  22. public static bool FastGpuTime = true;
  23. }
  24. }