IDXGISwapChain::GetDesc method
[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
- pDesc [out]
-
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
Header |
|
---|---|
Library |
|
See also
Show: