IDXGISurface::GetDesc method (dxgi.h)
Get a description of the surface.
Syntax
HRESULT GetDesc(
[out] DXGI_SURFACE_DESC *pDesc
);
Parameters
[out] pDesc
Type: DXGI_SURFACE_DESC*
A pointer to the surface description (see DXGI_SURFACE_DESC).
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the error codes that are described in the DXGI_ERROR topic.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | dxgi.h |
Library | DXGI.lib |