Table of Contents

Method GetMaximumSupportedFeatureLevel

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

GetMaximumSupportedFeatureLevel(ReadOnlySpan<D3DFeatureLevel>)

Gets the maximum feature level from the provided list which is supported by the device. If none of the provided levels are supported then this method returns null.

D3DFeatureLevel? GetMaximumSupportedFeatureLevel(ReadOnlySpan<D3DFeatureLevel> featureLevels)

Parameters

featureLevels ReadOnlySpan<D3DFeatureLevel>

Returns

D3DFeatureLevel?