OpenGL3:总结篇 FreeGlut库
一.简介
二.成员函数
void glutInit(int* pargc, char** argv)
void glutInitWindowPosition(int x, int y)
void glutInitWindowSize(int width, int height)
void glutInitDisplayMode(unsigned int displayMode)
void glutInitDisplayString(const char* displayMode)
void glutMainLoop(void)
int glutCreateWindow(const char* title)
int glutCreateSubWindow(int window, int x, int y, int width, int height)
void glutDestroyWindow(int window)
void glutSetWindow(int window)
int glutGetWindow(void)
void glutSetWindowTiltle(const char* title)
void glutSetIconTitle(const char* title)
void glutReshapeWindow(int width, int height)
void glutPositionWindow(int x, int y)
void glutShowWindow(void)
void glutHideWindow(void)
void glutIconifyWindow(void)
void glutPushWindow(void)
void glutPopWindow(void)
void glutFullScreen(void)
void glutPostWindowRedisplay(int window)
void glutPostRedisplay(void)
void glutSwapBuffers(void)
void glutWarpPointer(int x, int y)
void glutSetCursor(int cursor)
void glutEstablishOverlay(void)
void glutRemoveOverlay(void)
void glutUserLayer(Glenum layer)
void glutPostOverlayRedisplay(void)
void glutPostWindowOverlayRedisplay(int window)
void glutShowOverlay(void)
void glutHideOverlay(void)
int glutCreateMenu(void(* callback)(int menu))
void glutDestroyMenu(int menu)
int glutGetMenu(void)
void glutSetMenu(int menu)
void glutAddMenuEntry(const char* label, int value)
void glutAddSubMenu(const char* label, int subMenu)
void glutChangeToMenuEntry(int item, const char* label, int value)
void glutChangeToSubMenu(int item, const char* label, int value)
void glutRemoveMenuItem(int item)
void glutAttachMenu(int button)
void glutDetachMenu(int button)
void glutTimeFunc(unsigned int time, void(*callback) (int), int value)
void glutIdleFunc(void (*callback) (void))
void glutKeyboardFunc(void (*callback) (unsigned char, int, int))
void glutSpecialFunc(void (*callback) (int, int, int))
void glutReshapeFunc(void (*callback) (int, int))
void glutVisiblityFunc(void (*callback) (int))