namespace Ryujinx.Graphics.Gpu
{
///
/// General GPU and graphics configuration.
///
public static class GraphicsConfig
{
///
/// Resolution scale.
///
public static float ResScale = 1f;
///
/// Max Anisotropy. Values range from 0 - 16. Set to -1 to let the game decide.
///
public static float MaxAnisotropy = -1;
///
/// Base directory used to write shader code dumps.
/// Set to null to disable code dumping.
///
public static string ShadersDumpPath;
///
/// Fast GPU time calculates the internal GPU time ticks as if the GPU was capable of
/// processing commands almost instantly, instead of using the host timer.
/// This can avoid lower resolution on some games when GPU performance is poor.
///
public static bool FastGpuTime = true;
///
/// Enables or disables the Just-in-Time compiler for GPU Macro code.
///
public static bool EnableMacroJit = true;
///
/// Enables or disables vertex buffer size detection from the index buffer, for indexed draws.
///
public static bool EnableIndexedVbSizeDetection = true;
///
/// Title id of the current running game.
/// Used by the shader cache.
///
public static string TitleId;
///
/// Enables or disables the shader cache.
///
public static bool EnableShaderCache;
}
}