mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 03:29:11 +00:00
Merge pull request #3076 from void-ghost/stereo3d_presets
Stereo3d presets
This commit is contained in:
commit
81414b4fa2
12 changed files with 115 additions and 10 deletions
|
@ -51,6 +51,14 @@ enum StereoMode
|
|||
STEREO_3DVISION
|
||||
};
|
||||
|
||||
constexpr int STEREOSCOPY_PRESETS_NUM = 3;
|
||||
|
||||
struct StereoscopyPreset final
|
||||
{
|
||||
int depth;
|
||||
int convergence;
|
||||
};
|
||||
|
||||
// NEVER inherit from this class.
|
||||
struct VideoConfig final
|
||||
{
|
||||
|
@ -84,6 +92,8 @@ struct VideoConfig final
|
|||
int iStereoDepth;
|
||||
int iStereoConvergence;
|
||||
bool bStereoSwapEyes;
|
||||
std::array<StereoscopyPreset, STEREOSCOPY_PRESETS_NUM> oStereoPresets;
|
||||
int iStereoActivePreset;
|
||||
|
||||
// Information
|
||||
bool bShowFPS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue