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 |