D3D11_FEATURE Enumeration

Direct3D 11 feature options.

Syntax

typedef enum D3D11_FEATURE
{
    D3D11_FEATURE_THREADING = 0,
    D3D11_FEATURE_DOUBLES = (D3D11_FEATURE_THREADING+1),
    D3D11_FEATURE_FORMAT_SUPPORT = (D3D11_FEATURE_DOUBLES+1),
    D3D11_FEATURE_FORMAT_SUPPORT2 = (D3D11_FEATURE_FORMAT_SUPPORT+1),
    D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS = (D3D11_FEATURE_FORMAT_SUPPORT2+1),
    D3D11_FEATURE_D3D11_OPTIONS = (D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS+1),
    D3D11_FEATURE_ARCHITECTURE_INFO = (D3D11_FEATURE_D3D11_OPTIONS+1),
    D3D11_FEATURE_D3D9_OPTIONS = (D3D11_FEATURE_ARCHITECTURE_INFO+1),
    D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT = (D3D11_FEATURE_D3D9_OPTIONS+1),
    D3D11_FEATURE_D3D9_SHADOW_SUPPORT = (D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT+1),
    D3D11_FEATURE_D3D11_OPTIONS1 = (D3D11_FEATURE_D3D9_SHADOW_SUPPORT+1),
    D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT = (D3D11_FEATURE_D3D11_OPTIONS1+1),
    D3D11_FEATURE_MARKER_SUPPORT = (D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT+1),
    D3D11_FEATURE_D3D9_OPTIONS1 = (D3D11_FEATURE_MARKER_SUPPORT+1)
} D3D11_FEATURE;  

Constants

Constant Description
D3D11_FEATURE_THREADINGThe driver supports multithreading. To see an example of testing a driver for multithread support, see How To: Check for Driver Support.
D3D11_FEATURE_DOUBLESSupports the use of the double-precision shaders in HLSL.
D3D11_FEATURE_FORMAT_SUPPORTSupports the formats in D3D11_FORMAT_SUPPORT.
D3D11_FEATURE_FORMAT_SUPPORT2Supports the formats in D3D11_FORMAT_SUPPORT2.
D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONSSupports compute shaders and raw and structured buffers.
D3D11_FEATURE_D3D11_OPTIONS Supports Direct3D 11.1 feature options.

Direct3D 11

Note
This value is not supported until Direct3D 11.1.
D3D11_FEATURE_ARCHITECTURE_INFO Supports specific adapter architecture.

Direct3D 11

Note
This value is not supported until Direct3D 11.1.
D3D11_FEATURE_D3D9_OPTIONS Supports Microsoft Direct3D 9 feature options.

Direct3D 11

Note
This value is not supported until Direct3D 11.1.
D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT Supports minimum precision of shaders. For more info about Microsoft High Level Shader Language (HLSL) minimum precision, see using HLSL minimum precision.

Direct3D 11

Note
This value is not supported until Direct3D 11.1.
D3D11_FEATURE_D3D9_SHADOW_SUPPORT Supports Microsoft Direct3D 9 shadowing feature.

Direct3D 11

Note
This value is not supported until Direct3D 11.1.
D3D11_FEATURE_D3D11_OPTIONS1Supports Direct3D 11.2 feature options. This value is not supported until Direct3D 11.2.
D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORTSupports Direct3D 11.2 instancing options. This value is not supported until Direct3D 11.2.
D3D11_FEATURE_MARKER_SUPPORTSupports Direct3D 11.2 marker options. This value is not supported until Direct3D 11.2.
D3D11_FEATURE_D3D9_OPTIONS1Supports Microsoft Direct3D 9 feature options, which includes the Microsoft Direct3D 9 shadowing feature and instancing support. This value is not supported until Direct3D 11.2.

Remarks

This enumeration is used when querying a driver about support for these features by calling ID3D11Device::CheckFeatureSupport. Each value in this enumeration has a corresponding data structure that is required to be passed to the pFeatureSupportData parameter of ID3D11Device::CheckFeatureSupport.

The following table shows the structures associated with each enumeration value.

Enumerant Associated Structure
D3D11_FEATURE_THREADING D3D11_FEATURE_DATA_THREADING
D3D11_FEATURE_DOUBLES D3D11_FEATURE_DATA_DOUBLES
D3D11_FEATURE_FORMAT_SUPPORT D3D11_FEATURE_DATA_FORMAT_SUPPORT
D3D11_FEATURE_FORMAT_SUPPORT2 D3D11_FEATURE_DATA_FORMAT_SUPPORT2
D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS
D3D11_FEATURE_D3D11_OPTIONS D3D11_FEATURE_DATA_D3D11_OPTIONS
D3D11_FEATURE_ARCHITECTURE_INFO D3D11_FEATURE_DATA_ARCHITECTURE_INFO
D3D11_FEATURE_D3D9_OPTIONS D3D11_FEATURE_DATA_D3D9_OPTIONS
D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT
D3D11_FEATURE_D3D9_SHADOW_SUPPORT D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT
D3D11_FEATURE_D3D11_OPTIONS1 D3D11_FEATURE_DATA_D3D11_OPTIONS1
D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT (not in XDK headers).
D3D11_FEATURE_MARKER_SUPPORT D3D11_FEATURE_DATA_MARKER_SUPPORT (not in XDK headers).
D3D11_FEATURE_D3D9_OPTIONS1 D3D11_FEATURE_DATA_D3D9_OPTIONS1 (not in XDK headers).

Requirements

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