ID3D10Debug::SetSwapChain method

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.
This topic has not yet been rated - Rate this topic

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

Syntax


HRESULT SetSwapChain(
  [in]  IDXGISwapChain *pSwapChain
);

Parameters

pSwapChain [in]

Type: IDXGISwapChain*

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

Return value

Type: HRESULT

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

Remarks

Note  If you call this API in a Session 0 process, it returns DXGI_ERROR_NOT_CURRENTLY_AVAILABLE.

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

Requirements

Header

D3D10SDKLayers.h

See also

ID3D10Debug Interface

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.