Axiom.RenderSystems.OpenGL.OpenTKWindow.SwapBuffers C# (CSharp) Метод

SwapBuffers() публичный Метод

Update the render window.
public SwapBuffers ( bool waitForVSync ) : void
waitForVSync bool
Результат void
		public override void SwapBuffers( bool waitForVSync )
		{
			if ( glContext != null )
			{
				glContext.SwapBuffers();
				return;
			}
			if ( _window != null )
			{
				_window.ProcessEvents();
				if ( _window.Exists == false /*|| _window.IsExiting == true*/)
				{
					WindowEventMonitor.Instance.WindowClosed( this );
					return;
				}

				if ( _window.WindowState == WindowState.Minimized || !_window.Focused )
					return;
				/*_window.SwapBuffers();*/
			}
		}