1
0
mirror of https://github.com/EduApps-CDG/OpenDX synced 2024-12-30 09:45:37 +01:00
OpenDX/src/dxvk/dxvk_options.h
Philip Rebohle 6b3d60ab25
[dxvk] Enable asynchronous presentation on all hardware
...and remove the dxvk.asyncPresent option.
2019-11-19 23:34:24 +01:00

29 lines
502 B
C++

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