Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11Debug::GetSwapChain method

Get the swap chain that the runtime will use for automatically calling IDXGISwapChain::Present.

Syntax


HRESULT GetSwapChain(
  [out] IDXGISwapChain **ppSwapChain
);

Parameters

ppSwapChain [out]

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.

Windows Phone 8: This API is supported.

Requirements

Header

D3D11SDKLayers.h

Library

D3D11.lib

See also

ID3D11Debug Interface

 

 

Community Additions

Show:
© 2015 Microsoft