Gets information about the features that are supported by the current graphics driver.
HRESULT CheckFeatureSupport( [in] D3D11_FEATURE Feature, [out] void *pFeatureSupportData, [in] UINT FeatureSupportDataSize );
- Feature [in]
A member of the D3D11_FEATURE enumerated type that describes which feature to query for support.
- pFeatureSupportData [out]
Upon completion of the method, the passed structure is filled with data that describes the feature support.
- FeatureSupportDataSize [in]
The size of the structure passed to the pFeatureSupportData parameter.
Returns S_OK if successful; otherwise, returns E_INVALIDARG if an unsupported data type is passed to the pFeatureSupportData parameter or a size mismatch is detected for the FeatureSupportDataSize parameter.
To query for multi-threading support, pass the D3D11_FEATURE_THREADING value to the Feature parameter, pass the D3D11_FEATURE_DATA_THREADING structure to the pFeatureSupportData parameter, and pass the size of the D3D11_FEATURE_DATA_THREADING structure to the FeatureSupportDataSize parameter.
Calling CheckFeatureSupport with Feature set to D3D11_FEATURE_FORMAT_SUPPORT causes the method to return the same information that would be returned by ID3D11Device::CheckFormatSupport.
Windows Phone 8: This API is supported.
Build date: 11/28/2012