1. Contents
2. Introduction
3. Background
3.1 Design Philosophy
3.2 Conventions
3.2.1 Window placement and size
3.3 Terminology
3.4 Differences from GLUT 3.7
3.4.1 glutMainLoop Behaviour
3.4.2 Action on Window Closure
3.4.3 Fullscreen windows
3.4.4 Changes to Callbacks
3.4.5 String Rendering
3.4.6 Geometry Rendering
3.4.7 Extension Function Queries
4. Initialization Functions
4.1 glutInit
4.2 glutInitWindowPosition, glutInitWindowSize
4.3 glutInitDisplayMode
4.4 glutInitDisplayString
4.5 glutInitErrorFunc, glutInitWarningFunc
5. Event Processing Functions
5.1 glutMainLoop
5.2 glutMainLoopEvent
5.3 glutLeaveMainLoop
6. Window Functions
6.1 glutCreateWindow
6.2 glutCreateSubwindow
6.3 glutDestroyWindow
6.4 glutSetWindow, glutGetWindow
6.5 glutSetWindowTitle, glutSetIconTitle
6.6 glutReshapeWindow
6.7 glutPositionWindow
6.8 glutShowWindow, glutHideWindow, glutIconifyWindow
6.9 glutPushWindow, glutPopWindow
6.10 glutFullScreen, glutLeaveFullScreen, glutFullScreenToggle
7. Display Functions
7.1 glutPostRedisplay
7.2 glutPostWindowRedisplay
7.3 glutSwapBuffers
8. Mouse Cursor Functions
8.1 glutSetCursor
8.2 glutWarpPointer
9. Overlay Functions
9.1 glutEstablishOverlay
9.2 glutRemoveOverlay
9.3 glutUseLayer
9.4 glutPostOverlayRedisplay
9.5 glutPostWindowOverlayRedisplay
9.6 glutShowOverlay, glutHideOverlay
10. Menu Functions
10.1 glutCreateMenu
10.2 glutDestroyMenu
10.3 glutGetMenu, glutSetMenu
10.4 glutAddMenuEntry
10.5 glutAddSubMenu
10.6 glutChangeToMenuEntry
10.7 glutChangeToSubMenu
10.8 glutSetMenuFont
10.9 glutRemoveMenuItem
10.10 glutAttachMenu, glutDetachMenu
10.11 glutMenuDestroyFunc
11. Global Callback Registration Functions
11.1 glutTimerFunc
11.2 glutIdleFunc
11.3 glutMenuStatusFunc
11.4 glutMenuStateFunc
12. Window-Specific Callback Registration Functions
12.1 glutDisplayFunc
12.2 glutOverlayDisplayFunc
12.3 glutReshapeFunc
12.4 glutPositionFunc
12.5 glutCloseFunc
12.6 glutKeyboardFunc
12.7 glutSpecialFunc
12.8 glutKeyboardUpFunc
12.9 glutSpecialUpFunc
12.10 glutMotionFunc, glutPassiveMotionFunc
12.11 glutMouseFunc
12.12 glutMouseWheelFunc
12.13 glutEntryFunc
12.14 glutJoystickFunc
12.15 glutSpaceballMotionFunc
12.16 glutSpaceballRotateFunc
12.17 glutSpaceballButtonFunc
12.18 glutButtonBoxFunc
12.19 glutDialsFunc
12.20 glutTabletMotionFunc
12.21 glutTabletButtonFunc
12.22 glutVisibilityFunc, glutWindowStatusFunc
13. State Setting and Retrieval Functions
13.1 glutSetOption
13.2 glutGet
13.3 glutDeviceGet
13.4 glutGetModifiers
13.5 glutLayerGet
13.6 glutExtensionSupported
13.7 glutGetProcAddress
14. Font Rendering Functions
14.1 glutBitmapCharacter
14.2 glutBitmapString
14.3 glutBitmapWidth
14.4 glutBitmapLength
14.5 glutBitmapHeight
14.6 glutStrokeCharacter
14.7 glutStrokeString
14.8 glutStrokeWidth
14.9 glutStrokeWidthf
14.10 glutStrokeLength
14.11 glutStrokeLengthf
14.12 glutStrokeHeight
15. Geometric Object Rendering Functions
15.1 glutWireSphere, glutSolidSphere
15.2 glutWireTorus, glutSolidTorus
15.3 glutWireCylinder, glutSolidCylinder
15.4 glutWireCone, glutSolidCone
15.5 glutWireCube, glutSolidCube
15.6 glutWireTetrahedron, glutSolidTetrahedron
15.7 glutWireOctahedron, glutSolidOctahedron
15.8 glutWireDodecahedron, glutSolidDodecahedron
15.9 glutWireIcosahedron, glutSolidIcosahedron
15.10 glutWireRhombicDodecahedron, glutSolidRhombicDodecahedron
15.11 glutWireTeapot, glutSolidTeapot, glutWireTeacup, glutSolidTeacup, glutWireTeaspoon, glutSolidTeaspoon
15.12 glutSetVertexAttribCoord3, glutSetVertexAttribNormal, glutSetVertexAttribTexCoord2
16. Game Mode Functions
16.1 glutGameModeString
16.2 glutEnterGameMode, glutLeaveGameMode
16.3 glutGameModeGet
17. Video Resize Functions
17.1 glutVideoResizeGet
17.2 glutSetupVideoResizing, glutStopVideoResizing
17.3 glutVideoResize
17.4 glutVideoPan
18. Color Map Functions
18.1 glutSetColor, glutGetColor
18.2 glutCopyColormap
19. MultiTouch Functions
19.1 glutMultiEntryFunc ← id, GLUT_ENTERED|GLUT_LEFT
19.2 glutMultiButtonFunc ← id, x, y, button, GLUT_DOWN|GLUT_UP
19.3 glutMultiMotionFunc ← id, x, y
19.4 glutMultiPassiveFunc ← id, x, y
20. Mobile Functions
21. Miscellaneous Functions
21.1 glutSetKeyRepeat, glutIgnoreKeyRepeat
21.2 glutForceJoystickFunc
21.3 glutReportErrors
22. Usage Notes
21.1 Implementation Notes
21.2 GLUT State
21.3 "freeglut.h" Header File
21.4 References
21.5 Index