Afterglow.Graphics.OpenTKRenderWindow.StartRendering C# (CSharp) Method

StartRendering() public method

Starts the rendering of the scene by cleaning the render target.
public StartRendering ( ) : void
return void
        public void StartRendering()
        {
            mGLControl.MakeCurrent();

            GL.ClearColor(mGLControl.BackColor);
            GL.Clear(ClearBufferMask.ColorBufferBit);
        }