ID3D11Texture2D::GetDesc method (d3d11.h)

Get the properties of the texture resource.

Syntax

void GetDesc(
  [out] D3D11_TEXTURE2D_DESC *pDesc
);

Parameters

[out] pDesc

Type: D3D11_TEXTURE2D_DESC*

Pointer to a resource description (see D3D11_TEXTURE2D_DESC).

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11Texture2D