(0) exportieren Drucken
Alle erweitern
Dieser Artikel wurde noch nicht bewertet - Dieses Thema bewerten.

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;

Konstanten

D3D11_FEATURE_THREADING

The driver supports multithreading. To see an example of testing a driver for multithread support, see How To: Check for Driver Support.

D3D11_FEATURE_DOUBLES

Supports the use of the double-precision shaders in HLSL.

D3D11_FEATURE_FORMAT_SUPPORT

Supports the formats in D3D11_FORMAT_SUPPORT.

D3D11_FEATURE_FORMAT_SUPPORT2

Supports the formats in D3D11_FORMAT_SUPPORT2.

D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS

Supports compute shaders and raw and structured buffers.

Hinweise

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 enumerant.

EnumerantAssociated Structure
D3D11_FEATURE_THREADINGD3D11_FEATURE_DATA_THREADING
D3D11_FEATURE_DOUBLESD3D11_FEATURE_DATA_DOUBLES
D3D11_FEATURE_FORMAT_SUPPORTD3D11_FEATURE_DATA_FORMAT_SUPPORT
D3D11_FEATURE_FORMAT_SUPPORT2D3D11_FEATURE_DATA_FORMAT_SUPPORT2
D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONSD3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS

 

Anforderungen

Header

D3D11.h

Siehe auch

Core Enumerations

 

 

Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.
Anzeigen:
© 2014 Microsoft. Alle Rechte vorbehalten.