Example #1
0
        protected override bool Draw()
        {
            GameContext.Clear(liboRg.Context.Buffer.Color, Colors.Black);

            GameContext.DrawArrays(vao, Primitive.Triangles, 0, 3);
            return(base.Draw());
        }
Example #2
0
        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());
        }
Example #3
0
        protected override bool Draw()
        {
            GameContext.Clear(liboRg.Context.Buffer.Color, Colors.Black);

            return(base.Draw());
        }
Example #4
0
 protected override bool Draw()
 {
     GameContext.Clear(liboRg.Context.Buffer.Color | liboRg.Context.Buffer.Depth);
     GameContext.DrawArrays(vao, Primitive.TrianglesStrip, 0, 6);
     return(base.Draw());
 }