---
UID: NF:d3d11.ID3D11Resource.GetType
title: ID3D11Resource::GetType (d3d11.h)
description: Get the type of the resource.
old-location: direct3d11\id3d11resource_gettype.htm
tech.root: direct3d11
ms.assetid: 8358ab9b-acf3-41cd-8812-cc15862928da
ms.date: 12/05/2018
ms.keywords: 62bac8ef-4d59-ca5c-1bf7-3993d5ecf42e, GetType, GetType method [Direct3D 11], GetType method [Direct3D 11],ID3D11Resource interface, ID3D11Resource interface [Direct3D 11],GetType method, ID3D11Resource.GetType, ID3D11Resource::GetType, d3d11/ID3D11Resource::GetType, direct3d11.id3d11resource_gettype
f1_keywords:
- d3d11/ID3D11Resource.GetType
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:
- ID3D11Resource.GetType
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID3D11Resource::GetType


## -description


Get the type of the resource.


## -parameters




### -param pResourceDimension [out]

Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/d3d11/ne-d3d11-d3d11_resource_dimension">D3D11_RESOURCE_DIMENSION</a>*</b>

Pointer to the resource type (see <a href="https://docs.microsoft.com/windows/desktop/api/d3d11/ne-d3d11-d3d11_resource_dimension">D3D11_RESOURCE_DIMENSION</a>).
          


## -returns



Returns nothing.




## -remarks



<b>Windows Phone 8:
        </b> This API is supported.
      




## -see-also




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

 

