示例#1
0
        static void Main()
        {
            if (Device11.GetSupportedFeatureLevel() != FeatureLevel.Level_11_0)
            {
                MessageBox.Show("DirectX11 not Supported");
                return;
            }

            Game game = new Game(new MenuScene());

            game.Run();
            game.Dispose();
        }