dxvk/src/dxvk/dxvk_options.h

29 lines
518 B
C++

#pragma once
#include "../util/config/config.h"
namespace dxvk {
struct DxvkOptions {
DxvkOptions() { }
DxvkOptions(const Config& config);
/// Enable state cache
bool enableStateCache;
/// Use transfer queue if available
bool enableTransferQueue;
/// Number of compiler threads
/// when using the state cache
int32_t numCompilerThreads;
/// Shader-related options
Tristate useRawSsbo;
Tristate useEarlyDiscard;
/// HUD elements
std::string hud;
};
}