Etterna 0.75.1
Loading...
Searching...
No Matches
LowLevelWindowVK.h
1#ifndef LOW_LEVEL_WINDOW_VK_H
2#define LOW_LEVEL_WINDOW_VK_H
3
4#include <set>
5#include <string>
6
7class DisplaySpec;
8typedef std::set<DisplaySpec> DisplaySpecs;
11class RenderTarget;
14{
15 public:
16 static LowLevelWindowVK* Create();
17
18 virtual ~LowLevelWindowVK() = default;
19
20 // Return "" if mode change was successful, otherwise an error message.
21 // bNewDeviceOut is set true if a new device was created and textures
22 // need to be reloaded.
23 virtual std::string TryVideoMode(const VideoModeParams& p,
24 bool& bNewDeviceOut) = 0;
25 virtual void GetDisplaySpecs(DisplaySpecs& out) const = 0;
26 virtual void Update() {}
27
28 virtual const ActualVideoModeParams* GetActualVideoModeParams() const = 0;
29 virtual bool SupportsFullscreenBorderlessWindow() const { return false; };
30};
31
32#endif
The actual VideoModeParams determined by the LowLevelWindow implementation. Contains all the attribut...
Definition RageDisplay.h:208
The dimensions of the program.
Definition DisplaySpec.h:48
Definition LowLevelWindowVK.h:14
Definition RageDisplay_D3D.h:113
The parameters used for the present Video Mode.
Definition RageDisplay.h:102
Definition RageDisplay.h:245