ID3D11Debug::SetSwapChain Method

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

Syntax

HRESULT SetSwapChain(
  [in]  IDXGISwapChain *pSwapChain
);

Parameter

pSwapChain [in]

Typ: IDXGISwapChain*

Swap chain that the runtime will use for automatically calling IDXGISwapChain::Present; must have been created with the DXGI_SWAP_EFFECT_SEQUENTIAL swap-effect flag.

Rückgabewert

Typ: HRESULT

This method returns one of the following Direct3D 11 Return Codes.

Hinweise

The swap chain set by this method will only be used if D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP is set in the feature mask.

Anforderungen

Header

D3D11SDKLayers.h

Bibliothek

D3D11.lib

Siehe auch

ID3D11Debug Interface

 

 

Anzeigen: