static void Main() { var form = new RenderForm("Hello Window") { Width = 1280, Height = 800 }; form.Show(); using (var app = new HelloWindow()) { app.Initialize(form); using (var loop = new RenderLoop(form)) { while (loop.NextFrame()) { app.Update(); app.Render(); } } } }
static void Main() { var form = new RenderForm("Hello Window") { Width = 1280, Height = 800 }; form.Show(); using (var app = new HelloWindow()) { app.Initialize(form); using (var loop = new RenderLoop(form)) { while (loop.NextFrame()) { app.Update(); app.Render(); } } } }