Get a description of the surface.
public:
HRESULT GetDesc(
DXGI_SURFACE_DESC *pDesc
)
pDesc
Type: DXGI_SURFACE_DESCÂ *
[out] A pointer to the surface description (see DXGI_SURFACE_DESC).
Type: HRESULTÂ
Returns S_OK if successful; otherwise, returns one of the error codes that are described in the DXGI_ERROR topic.
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).