---
UID: NF:d3d11.ID3D11Device.GetFeatureLevel
title: ID3D11Device::GetFeatureLevel (d3d11.h)
description: Gets the feature level of the hardware device.
old-location: direct3d11\id3d11device_getfeaturelevel.htm
tech.root: direct3d11
ms.assetid: 746d7cdf-b054-4bfa-a116-5b884fc9bc96
ms.date: 12/05/2018
ms.keywords: 956236c4-681b-5005-2e10-fa583bce3b30, GetFeatureLevel, GetFeatureLevel method [Direct3D 11], GetFeatureLevel method [Direct3D 11],ID3D11Device interface, ID3D11Device interface [Direct3D 11],GetFeatureLevel method, ID3D11Device.GetFeatureLevel, ID3D11Device::GetFeatureLevel, d3d11/ID3D11Device::GetFeatureLevel, direct3d11.id3d11device_getfeaturelevel
f1_keywords:
- d3d11/ID3D11Device.GetFeatureLevel
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:
- ID3D11Device.GetFeatureLevel
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# ID3D11Device::GetFeatureLevel


## -description


Gets the feature level of the hardware device.


## -parameters






## -returns



Type: <b><a href="https://docs.microsoft.com/windows/desktop/api/d3dcommon/ne-d3dcommon-d3d_feature_level">D3D_FEATURE_LEVEL</a></b>

A member of the <a href="https://docs.microsoft.com/windows/desktop/api/d3dcommon/ne-d3dcommon-d3d_feature_level">D3D_FEATURE_LEVEL</a> enumerated type that describes the feature level of the hardware device.




## -remarks




<a href="https://docs.microsoft.com/windows/desktop/direct3d11/overviews-direct3d-11-devices-downlevel-intro">Feature levels</a> determine the capabilities of your device.




## -see-also




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

 

