예제 #1
0
        public static void Main()
        {
            ProfileWriter.BeginSession("Startup", "BootProfile-Startup.json");
            Logger.Init();
            var app = new SandboxApp(Veldrid.GraphicsBackend.OpenGL);

            ProfileWriter.EndSesison();

            ProfileWriter.BeginSession("Runtime", "BootProfile-Runtime.json");
            app.Run();
            ProfileWriter.EndSesison();

            ProfileWriter.BeginSession("Shutdown", "BootProfile-Shutdown.json");
            app.Dispose();
            ProfileWriter.EndSesison();
        }
예제 #2
0
파일: Program.cs 프로젝트: rgracari/helio
 static void Main()
 {
     using (var sandbox = new SandboxApp())
         sandbox.Run();
 }