This manual page is for Mac OS X version 10.6.3

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



glutSwapBuffers(3GLUT)                              GLUT                              glutSwapBuffers(3GLUT)



NAME
       glutSwapBuffers - swaps the buffers of the current window if double buffered.

SYNTAX
       void glutSwapBuffers(void);

DESCRIPTION
       Performs  a  buffer  swap  on the layer in use for the current window.  Specifically, glutSwapBuffers
       promotes the contents of the back buffer of the layer in use of the current window to become the con-tents contents
       tents  of  the  front buffer. The contents of the back buffer then become undefined. The update typi-cally typically
       cally takes place during the vertical retrace of the monitor, rather than immediately after glutSwap-Buffers glutSwapBuffers
       Buffers is called.

       An  implicit glFlush is done by glutSwapBuffers before it returns.  Subsequent OpenGL commands can be
       issued immediately after calling glutSwapBuffers, but are not executed until the buffer  exchange  is
       completed.

       If the layer in use is not double buffered, glutSwapBuffers has no effect.

SEE ALSO
       glutPostRedisplay(3G), glutDisplayFunc(3G)


AUTHOR
       Mark J. Kilgard (mjk@nvidia.com)



GLUT                                                 3.7                              glutSwapBuffers(3GLUT)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...