OpenTK.GLControl.SwapBuffers C# (CSharp) Method

SwapBuffers() public method

Swaps the front and back buffers, presenting the rendered scene to the screen.
public SwapBuffers ( ) : void
return void
        public void SwapBuffers()
        {
            ValidateState();
            Context.SwapBuffers();
        }

Usage Example

 public void draw_attractor()
 {
     GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
     GL.Material(MaterialFace.FrontAndBack, MaterialParameter.Diffuse, Color4.Red);
     my_draw_attractor();
     glControl.SwapBuffers();
 }
All Usage Examples Of OpenTK.GLControl::SwapBuffers