CSharpGL.GLSceneCanvas.DesignModeRender C# (CSharp) Method

DesignModeRender() protected method

protected DesignModeRender ( ) : void
return void
        protected virtual void DesignModeRender()
        {
            // Sky blue fore background.
            //OpenGL.ClearColor(0x87 / 255.0f, 0xce / 255.0f, 0xeb / 255.0f, 0xff / 255.0f);
            OpenGL.glClearColor(0, 0, 0, 0);

            //  Clear the color and depth buffer.
            OpenGL.Clear(OpenGL.GL_COLOR_BUFFER_BIT | OpenGL.GL_DEPTH_BUFFER_BIT | OpenGL.GL_STENCIL_BUFFER_BIT);

            GLCanvasHelper.DrawClock();

            OpenGL.DrawText(10,
                10, Color.White, "Courier New",// "Courier New",
                25.0f, this.GetType().FullName);
            if (this.RenderTrigger == RenderTrigger.TimerBased)
            {
                OpenGL.DrawText(10,
                    this.Height - 20 - 1, Color.Red, "Courier New",// "Courier New",
                    20.0f, string.Format("FPS: {0}", this.FPS.ToShortString()));
            }
        }