Esempio n. 1
0
        // Now that initialization is done, let's create our render loop.
        protected override void OnRenderFrame(FrameEventArgs e)
        {
            GL.Clear(ClearBufferMask.ColorBufferBit);

            editor.Draw();

            SwapBuffers();
            base.OnRenderFrame(e);
        }
Esempio n. 2
0
 public override void Draw(GameTime gameTime, int width, int height)
 {
     _editorManager.Draw(gameTime, width, height);
 }