summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-03-31 18:55:55 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-03-31 18:55:55 +0000
commitf88358621a3a2ffa1a9b7a87baa84695075337bd (patch)
treebb555200a0d97d473744faf83e63834c742d0286 /Graphics/GraphicsEngine
parentImplemented initialization in fullscreen mode on Win32 (diff)
downloadDiligentCore-f88358621a3a2ffa1a9b7a87baa84695075337bd.tar.gz
DiligentCore-f88358621a3a2ffa1a9b7a87baa84695075337bd.zip
Implemented switching to a fullscreen mode in d3d on Win32
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/SwapChain.h6
1 files changed, 6 insertions, 0 deletions
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;
};
}