3 #if SILICONSTUDIO_PARADOX_GRAPHICS_API_DIRECT3D
4 using SharpDX.Direct3D;
6 namespace SiliconStudio.
Paradox.Graphics
8 internal static class GraphicsProfileHelper
14 public static FeatureLevel[] ToFeatureLevel(
this GraphicsProfile[] profiles)
21 var levels =
new FeatureLevel[profiles.Length];
22 for (
int i = 0; i < levels.Length; i++)
24 levels[i] = (FeatureLevel) profiles[i];
35 return (FeatureLevel)profile;
GraphicsProfile
Identifies the set of supported devices for the demo based on device capabilities.