Пример #1
0
 protected void Render()
 {
     GL.Viewport(0, 0, Width, Height);
     GL.Enable(EnableCap.DepthTest);
     GL.ClearColor(0.1f, 0.3f, 0.4f, 0.0f);
     GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
     DrawCommandRenderer.DrawText(0.0f, 0.0f, "hahahahahahha");
     //DrawCommandRenderer.DrawRect(0.0f, 0.0f, 150.0f, 50.0f,Color4.Yellow);
     IMGUI.Render();
 }
Пример #2
0
 public override void RenderEnd()
 {
     base.RenderEnd();
     IMGUI.Render();
 }