IDXGISwapChain::GetDesc method (dxgi.h)
[Starting with Direct3D 11.1, we recommend not to use GetDesc anymore to get a description of the swap chain. Instead, use IDXGISwapChain1::GetDesc1.]
Get a description of the swap chain.
Syntax
HRESULT GetDesc(
[out] DXGI_SWAP_CHAIN_DESC *pDesc
);
Parameters
[out] pDesc
Type: DXGI_SWAP_CHAIN_DESC*
A pointer to the swap-chain description (see DXGI_SWAP_CHAIN_DESC).
Return value
Type: HRESULT
Returns one of the following DXGI_ERROR.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for