IDXGISwapChain2 interface (dxgi1_3.h)
Extends IDXGISwapChain1 with methods to support swap back buffer scaling and lower-latency swap chains.
Inheritance
The IDXGISwapChain2 interface inherits from IDXGISwapChain1. IDXGISwapChain2 also has these types of members:
Methods
The IDXGISwapChain2 interface has these methods.
IDXGISwapChain2::GetFrameLatencyWaitableObject Returns a waitable handle that signals when the DXGI adapter has finished presenting a new frame. |
IDXGISwapChain2::GetMatrixTransform Gets the transform matrix that will be applied to a composition swap chain upon the next present. |
IDXGISwapChain2::GetMaximumFrameLatency Gets the number of frames that the swap chain is allowed to queue for rendering. |
IDXGISwapChain2::GetSourceSize Gets the source region used for the swap chain. |
IDXGISwapChain2::SetMatrixTransform Sets the transform matrix that will be applied to a composition swap chain upon the next present. |
IDXGISwapChain2::SetMaximumFrameLatency Sets the number of frames that the swap chain is allowed to queue for rendering. |
IDXGISwapChain2::SetSourceSize Sets the source region to be used for the swap chain. |
Remarks
You can create a swap chain by calling IDXGIFactory2::CreateSwapChainForHwnd, IDXGIFactory2::CreateSwapChainForCoreWindow, or IDXGIFactory2::CreateSwapChainForComposition.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | dxgi1_3.h |
See also
IDXGIFactory2::CreateSwapChainForComposition
IDXGIFactory2::CreateSwapChainForCoreWindow