Get a description of the swap chain.
Note
Starting with Direct3D 11.1, we recommend not to use GetDesc anymore to get a description of the swap chain. Instead, use IDXGISwapChain1::GetDesc1.
public:
HRESULT GetDesc(
DXGI_SWAP_CHAIN_DESC *pDesc
)
pDesc
Type: DXGI_SWAP_CHAIN_DESCÂ *
[out] A pointer to the swap-chain description (see DXGI_SWAP_CHAIN_DESC).
Type: HRESULTÂ
Returns one of the following DXGI_ERROR.
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).