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.
Set a swap chain that the runtime will use for automatically calling Present.
Syntax
HRESULT SetSwapChain(
[in] IDXGISwapChain *pSwapChain
);
Parameters
[in] pSwapChain
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.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | d3d10sdklayers.h |