osx man page for glutswapbuffers

Query: glutswapbuffers

OS: osx

Section: 3glut

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

glutSwapBuffers(3GLUT)						       GLUT						    glutSwapBuffers(3GLUT)

NAME
glutSwapBuffers - swaps the buffers of the current window if double buffered.
SYNTAX
#include <GLUT/glut.h> 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 contents of the front buffer. The contents of the back buffer then become unde- fined. The update typically takes place during the vertical retrace of the monitor, rather than immediately after glutSwapBuffers 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, glutDisplayFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutSwapBuffers(3GLUT)
Related Man Pages
glutlayerget(3glut) - mojave
glutoverlaydisplayfunc(3glut) - mojave
glutpostredisplay(3glut) - mojave
glutdisplayfunc(3glut) - suse
glutoverlaydisplayfunc(3glut) - osx
Similar Topics in the Unix Linux Community
Error: GL/glut.h: No such file or directory
How to insert JPEG on each side of the cube using openGL in C
How to Decode an image using openGL
Draw a 3D cylinder using openGL.
Infraction for Ravikishore: 1st Warning to Add Code Tags