public Initialize ( SharpDX.Windows.RenderForm form ) : void | ||
form | SharpDX.Windows.RenderForm | The form |
return | void |
static void Main() { var form = new RenderForm("Hello Font"); form.Width = 1280; form.Height = 800; form.Show(); using (HelloFont app = new HelloFont()) { app.Initialize(form); using (var loop = new RenderLoop(form)) { while (loop.NextFrame()) { app.Update(); app.Render(); } } } }
static void Main() { var form = new RenderForm("Hello Font"); form.Width = 1280; form.Height = 800; form.Show(); using (HelloFont app = new HelloFont()) { app.Initialize(form); using (var loop = new RenderLoop(form)) { while (loop.NextFrame()) { app.Update(); app.Render(); } } } }