protected override bool Draw() { GameContext.Clear(liboRg.Context.Buffer.Color, Colors.Black); GameContext.DrawArrays(vao, Primitive.Triangles, 0, 3); return(base.Draw()); }
protected override bool Draw() { GameContext.Clear(liboRg.Context.Buffer.Color, Colors.Black); m_pText.Begin(); m_pText.Write(string.Format("Hallo Welt Fps: {0}", renderFrame), Colors.DarkOrange, new Vector2(8f, 100f)); m_pText.Write("The Dark Green Fox Jumps Over The Lazy Dog", Colors.DarkGreen, new Vector2(8f, 380)); m_pText.End(); return(base.Draw()); }
protected override bool Draw() { GameContext.Clear(liboRg.Context.Buffer.Color, Colors.Black); return(base.Draw()); }
protected override bool Draw() { GameContext.Clear(liboRg.Context.Buffer.Color | liboRg.Context.Buffer.Depth); GameContext.DrawArrays(vao, Primitive.TrianglesStrip, 0, 6); return(base.Draw()); }