---
UID: NF:d3d11.ID3D11Texture2D.GetDesc
title: ID3D11Texture2D::GetDesc (d3d11.h)
description: Get the properties of the texture resource.
old-location: direct3d11\id3d11texture2d_getdesc.htm
tech.root: direct3d11
ms.assetid: 408e0914-9582-4639-9778-02e121ea0763
ms.date: 12/05/2018
ms.keywords: GetDesc, GetDesc method [Direct3D 11], GetDesc method [Direct3D 11],ID3D11Texture2D interface, ID3D11Texture2D interface [Direct3D 11],GetDesc method, ID3D11Texture2D.GetDesc, ID3D11Texture2D::GetDesc, a43ecef2-d8a7-2b25-5691-78a828b9d806, d3d11/ID3D11Texture2D::GetDesc, direct3d11.id3d11texture2d_getdesc
f1_keywords:
- d3d11/ID3D11Texture2D.GetDesc
dev_langs:
- c++
req.header: d3d11.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: D3D11.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- D3D11.lib
- D3D11.dll
api_name:
- ID3D11Texture2D.GetDesc
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID3D11Texture2D::GetDesc


## -description


Get the properties of the texture resource.


## -parameters




### -param pDesc [out]

Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/d3d11/ns-d3d11-d3d11_texture2d_desc">D3D11_TEXTURE2D_DESC</a>*</b>

Pointer to a resource description (see <a href="https://docs.microsoft.com/windows/desktop/api/d3d11/ns-d3d11-d3d11_texture2d_desc">D3D11_TEXTURE2D_DESC</a>).


## -returns



Returns nothing.




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/api/d3d11/nn-d3d11-id3d11texture2d">ID3D11Texture2D</a>
 

 

