IDXGISurface::GetDesc Method

Get a description of the surface.

Syntax

public:
HRESULT GetDesc(
         DXGI_SURFACE_DESC *pDesc
)  

Parameters

pDesc
Type: DXGI_SURFACE_DESC *

[out] 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

Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGISurface

IDXGISurface Members