IDXGISwapChain1 interface (dxgi1_2.h)
Provides presentation capabilities that are enhanced from IDXGISwapChain. These presentation capabilities consist of specifying dirty rectangles and scroll rectangle to optimize the presentation.
The IDXGISwapChain1 interface inherits from IDXGISwapChain. IDXGISwapChain1 also has these types of members:
The IDXGISwapChain1 interface has these methods.
Retrieves the background color of the swap chain.
Retrieves the underlying CoreWindow object for this swap-chain object.
Gets a description of the swap chain.
Gets a description of a full-screen swap chain.
Retrieves the underlying HWND for this swap-chain object.
Gets the output (the display monitor) to which you can restrict the contents of a present operation.
Gets the rotation of the back buffers for the swap chain.
Determines whether a swap chain supports “temporary mono.”
Presents a frame on the display screen.
Changes the background color of the swap chain.
Sets the rotation of the back buffers for the swap chain.
You can create a swap chain by calling IDXGIFactory2::CreateSwapChainForHwnd, IDXGIFactory2::CreateSwapChainForCoreWindow, or IDXGIFactory2::CreateSwapChainForComposition. You can also create a swap chain when you call D3D11CreateDeviceAndSwapChain; however, you can then only access the sub-set of swap-chain functionality that the IDXGISwapChain interface provides.
IDXGISwapChain1 provides the IsTemporaryMonoSupported method that you can use to determine whether the swap chain supports "temporary mono” presentation. This type of swap chain is a stereo swap chain that can be used to present mono content.
|Minimum supported client||Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]|