Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Get the swap chain that the runtime will use for automatically calling IDXGISwapChain::Present.
Syntax
HRESULT GetSwapChain(
[out] IDXGISwapChain **ppSwapChain
);
Parameters
[out] ppSwapChain
Type: IDXGISwapChain**
Swap chain that the runtime will use for automatically calling IDXGISwapChain::Present.
Return value
Type: HRESULT
This method returns one of the following Direct3D 11 Return Codes.
Remarks
The swap chain retrieved by this method will only be used if D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP is set in the feature mask.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d11sdklayers.h |
| Library | D3D11.lib |