Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Direct3D 11 feature options.
Syntax
typedef enum D3D11_FEATURE {
D3D11_FEATURE_THREADING = 0,
D3D11_FEATURE_DOUBLES,
D3D11_FEATURE_FORMAT_SUPPORT,
D3D11_FEATURE_FORMAT_SUPPORT2,
D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS,
D3D11_FEATURE_D3D11_OPTIONS,
D3D11_FEATURE_ARCHITECTURE_INFO,
D3D11_FEATURE_D3D9_OPTIONS,
D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT,
D3D11_FEATURE_D3D9_SHADOW_SUPPORT,
D3D11_FEATURE_D3D11_OPTIONS1,
D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT,
D3D11_FEATURE_MARKER_SUPPORT,
D3D11_FEATURE_D3D9_OPTIONS1,
D3D11_FEATURE_D3D11_OPTIONS2,
D3D11_FEATURE_D3D11_OPTIONS3,
D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT,
D3D11_FEATURE_D3D11_OPTIONS4,
D3D11_FEATURE_SHADER_CACHE,
D3D11_FEATURE_D3D11_OPTIONS5,
D3D11_FEATURE_DISPLAYABLE,
D3D11_FEATURE_D3D11_OPTIONS6
} ;
Constants
D3D11_FEATURE_THREADINGValue: 0 The driver supports multithreading. To see an example of testing a driver for multithread support, see How To: Check for Driver Support. Refer to D3D11_FEATURE_DATA_THREADING. |
D3D11_FEATURE_DOUBLESSupports the use of the double-precision shaders in HLSL. Refer to D3D11_FEATURE_DATA_DOUBLES. |
D3D11_FEATURE_FORMAT_SUPPORTSupports the formats in D3D11_FORMAT_SUPPORT. Refer to D3D11_FEATURE_DATA_FORMAT_SUPPORT. |
D3D11_FEATURE_FORMAT_SUPPORT2Supports the formats in D3D11_FORMAT_SUPPORT2. Refer to D3D11_FEATURE_DATA_FORMAT_SUPPORT2. |
D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONSSupports compute shaders and raw and structured buffers. Refer to D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS. |
D3D11_FEATURE_D3D11_OPTIONSSupports Direct3D 11.1 feature options. Refer to D3D11_FEATURE_DATA_D3D11_OPTIONS. Direct3D 11: This value is not supported until Direct3D 11.1. |
D3D11_FEATURE_ARCHITECTURE_INFOSupports specific adapter architecture. Refer to D3D11_FEATURE_DATA_ARCHITECTURE_INFO. Direct3D 11: This value is not supported until Direct3D 11.1. |
D3D11_FEATURE_D3D9_OPTIONSSupports Direct3D 9 feature options. Refer to D3D11_FEATURE_DATA_D3D9_OPTIONS. Direct3D 11: This value is not supported until Direct3D 11.1. |
D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORTSupports minimum precision of shaders. For more info about HLSL minimum precision, see using HLSL minimum precision. Refer to D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT. Direct3D 11: This value is not supported until Direct3D 11.1. |
D3D11_FEATURE_D3D9_SHADOW_SUPPORTSupports Direct3D 9 shadowing feature. Refer to D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT. Direct3D 11: This value is not supported until Direct3D 11.1. |
D3D11_FEATURE_D3D11_OPTIONS1Supports Direct3D 11.2 feature options. Refer to D3D11_FEATURE_DATA_D3D11_OPTIONS1. Direct3D 11: This value is not supported until Direct3D 11.2. |
D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORTSupports Direct3D 11.2 instancing options. Refer to D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT. Direct3D 11: This value is not supported until Direct3D 11.2. |
D3D11_FEATURE_MARKER_SUPPORTSupports Direct3D 11.2 marker options. Refer to D3D11_FEATURE_DATA_MARKER_SUPPORT. Direct3D 11: This value is not supported until Direct3D 11.2. |
D3D11_FEATURE_D3D9_OPTIONS1Supports Direct3D 9 feature options, which includes the Direct3D 9 shadowing feature and instancing support. Refer to D3D11_FEATURE_DATA_D3D9_OPTIONS1. Direct3D 11: This value is not supported until Direct3D 11.2. |
D3D11_FEATURE_D3D11_OPTIONS2Supports Direct3D 11.3 conservative rasterization feature options. Refer to D3D11_FEATURE_DATA_D3D11_OPTIONS2. Direct3D 11: This value is not supported until Direct3D 11.3. |
D3D11_FEATURE_D3D11_OPTIONS3Supports Direct3D 11.4 conservative rasterization feature options. Refer to D3D11_FEATURE_DATA_D3D11_OPTIONS3. Direct3D 11: This value is not supported until Direct3D 11.4. |
D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORTSupports GPU virtual addresses. Refer to D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT. |
D3D11_FEATURE_D3D11_OPTIONS4Supports a single boolean for NV12 shared textures. Refer to D3D11_FEATURE_DATA_D3D11_OPTIONS4. Direct3D 11: This value is not supported until Direct3D 11.4. |
D3D11_FEATURE_SHADER_CACHESupports shader cache, described in D3D11_FEATURE_DATA_SHADER_CACHE. |
D3D11_FEATURE_D3D11_OPTIONS5Supports a D3D11_SHARED_RESOURCE_TIER to indicate the level of support for shared resources in the current graphics driver. Refer to D3D11_FEATURE_DATA_D3D11_OPTIONS5. |
D3D11_FEATURE_DISPLAYABLESupports displayable surfaces, described in D3D11_FEATURE_DATA_DISPLAYABLE. |
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.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d11.h |