IDXGISwapChain2 interface
Extends IDXGISwapChain1 with methods to support swap back buffer scaling and lower-latency swap chains.
Members
The IDXGISwapChain2 interface inherits from IDXGISwapChain1. IDXGISwapChain2 also has these types of members:
Methods
The IDXGISwapChain2 interface has these methods.
| Method | Description |
|---|---|
| GetFrameLatencyWaitableObject |
Returns a waitable handle that signals when the DXGI adapter has finished presenting a new frame. |
| GetMatrixTransform |
Gets the transform matrix that will be applied to a composition swap chain upon the next present. |
| GetMaximumFrameLatency |
Gets the number of frames that the swap chain is allowed to queue for rendering. |
| GetSourceSize |
Gets the source region used for the swap chain. |
| SetMatrixTransform |
Sets the transform matrix that will be applied to a composition swap chain upon the next present. |
| SetMaximumFrameLatency |
Sets the number of frames that the swap chain is allowed to queue for rendering. |
| 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
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
Library |
|
See also
- IDXGISwapChain1
- IDXGIFactory2::CreateSwapChainForHwnd
- IDXGIFactory2::CreateSwapChainForCoreWindow
- IDXGIFactory2::CreateSwapChainForComposition
- DXGI Interfaces