CSharpGL.GLSceneCanvas.DoOpenGLDraw C# (CSharp) Method

DoOpenGLDraw() private method

Call this function in derived classes to do the OpenGL Draw event.
private DoOpenGLDraw ( PaintEventArgs e ) : void
e PaintEventArgs
return void
        private void DoOpenGLDraw(PaintEventArgs e)
        {
            //vec4 clearColor = this.Scene.ClearColor.ToVec4();
            //OpenGL.ClearColor(clearColor.x, clearColor.y, clearColor.z, clearColor.w);

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

            this.Scene.Render();
            //this.PointToClient(Control.MousePosition));
        }