Beispiel #1
0
 public void Render()
 {
     m_renderer.BeginFrame();
     m_script.Call("Draw");
     m_renderer.Flush();
     m_renderer.EndFrame();
 }
 public override void Render()
 {
     base.Render();
     m_renderer.BeginFrame();
     m_script.Call("Draw");
     m_renderer.Flush();
     m_renderer.EndFrame();
 }
Beispiel #3
0
 public override void Render()
 {
     m_renderer.BeginFrame();
     m_renderer.Translate(-50, -50);
     m_renderer.Rotate(Time.Total * 180);
     m_renderer.Translate(Window.Width / 2.0f, Window.Height / 2.0f);
     m_renderer.FillRect(0, 0, 100, 100);
     m_renderer.Flush();
     m_renderer.EndFrame();
 }