[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.Device.IsSupportedFeatureLevel

IsSupportedFeatureLevel Method

IsSupportedFeatureLevel(FeatureLevel)

Check if a feature level is supported by a primary adapter.

Declaration
public static bool IsSupportedFeatureLevel(FeatureLevel featureLevel)
Parameters
Type Name Description
FeatureLevel featureLevel

The feature level.

Returns
Type Description
bool

true if the primary adapter is supporting this feature level; otherwise, false.

IsSupportedFeatureLevel(Adapter, FeatureLevel)

Check if a feature level is supported by a particular adapter.

Declaration
public static bool IsSupportedFeatureLevel(Adapter adapter, FeatureLevel featureLevel)
Parameters
Type Name Description
Adapter adapter

The adapter.

FeatureLevel featureLevel

The feature level.

Returns
Type Description
bool

true if the specified adapter is supporting this feature level; otherwise, false.