|
|
Эта страница руководства является частью версии 5.0 Инструментов XCodeПолучить эти инструменты:
Если Вы выполняете версию Инструментов XCode кроме 5,0, просматриваете документацию локально:
Читать страницы руководстваСтраницы руководства предназначаются как справочник для людей, уже понимающих технологию.
|
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 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)
|
Сообщение о проблемах
Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:
- Ошибки содержания
- Ошибки отчета в содержании этой документации со ссылками на отзыв ниже.
- Отчеты об ошибках
- Сообщите об ошибках в функциональности описанного инструмента или API через Генератор отчетов Ошибки.
- Форматирование проблем
- Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.