コード例 #1
0
ファイル: ShadowsDemo.cs プロジェクト: mrommel/dx11
        static void Main()
        {
            Configuration.EnableObjectTracking = true;
            var app = new ShadowsDemo(Process.GetCurrentProcess().Handle);

            if (!app.Init())
            {
                return;
            }
            try {
                app.Run();
            } catch (Exception ex) {
                MessageBox.Show(ex.Message + "\n" + ex.StackTrace);
            }
        }
コード例 #2
0
ファイル: ShadowsDemo.cs プロジェクト: jackinf/dx11
 static void Main()
 {
     Configuration.EnableObjectTracking = true;
     var app = new ShadowsDemo(Process.GetCurrentProcess().Handle);
     if (!app.Init()) {
         return;
     }
     try {
         app.Run();
     } catch (Exception ex) {
         MessageBox.Show(ex.Message + "\n" + ex.StackTrace);
     }
 }