From f88358621a3a2ffa1a9b7a87baa84695075337bd Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sat, 31 Mar 2018 11:55:55 -0700 Subject: Implemented switching to a fullscreen mode in d3d on Win32 --- Graphics/GraphicsEngine/interface/SwapChain.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Graphics/GraphicsEngine') diff --git a/Graphics/GraphicsEngine/interface/SwapChain.h b/Graphics/GraphicsEngine/interface/SwapChain.h index 0cdde1ef..87830be0 100644 --- a/Graphics/GraphicsEngine/interface/SwapChain.h +++ b/Graphics/GraphicsEngine/interface/SwapChain.h @@ -54,6 +54,12 @@ public: /// \param [in] NewWidth - New swap chain width, in pixels /// \param [in] NewHeight - New swap chain height, in pixels virtual void Resize( Uint32 NewWidth, Uint32 NewHeight ) = 0; + + /// Sets fullscreen mode (only supported on Win32 platform) + virtual void SetFullscreenMode(const DisplayModeAttribs &DisplayMode) = 0; + + /// Sets windowed mode (only supported on Win32 platform) + virtual void SetWindowedMode() = 0; }; } -- cgit v1.2.3