[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.EffectContext.GetMaximumSupportedFeatureLevel

GetMaximumSupportedFeatureLevel Method

GetMaximumSupportedFeatureLevel(FeatureLevel[])

Gets the maximum feature level supported by this instance.

Declaration
public FeatureLevel GetMaximumSupportedFeatureLevel(FeatureLevel[] featureLevels)
Parameters
Type Name Description
FeatureLevel[] featureLevels

An array of feature levels

Returns
Type Description
FeatureLevel

The maximum feature level selected from the array

GetMaximumSupportedFeatureLevel(FeatureLevel[], int)

HRESULT ID2D1EffectContext::GetMaximumSupportedFeatureLevel([In, Buffer] const D3D_FEATURE_LEVEL* featureLevels,[In] unsigned int featureLevelsCount,[Out] D3D_FEATURE_LEVEL* maximumSupportedFeatureLevel)

Declaration
public FeatureLevel GetMaximumSupportedFeatureLevel(FeatureLevel[] featureLevels, int featureLevelsCount)
Parameters
Type Name Description
FeatureLevel[] featureLevels
int featureLevelsCount
Returns
Type Description
FeatureLevel