GLUT


Table of Contents

glut - an introduction to the OpenGL Utility Toolkit
glutAddMenuEntry - adds a menu entry to the bottom of the current menu.
glutAddSubMenu - adds a sub-menu trigger to the bottom of the current menu.
glutAttachMenu - attaches/detaches a mouse button for the current window to the identifier of the current menu
glutBitmapCharacter - renders a bitmap character using OpenGL.
glutBitmapWidth - returns the width/length of a bitmap character/string.
glutButtonBoxFunc - sets the dial & button box button callback for the current window.
glutChangeToMenuEntry - changes the specified menu item in the current menu into a menu entry.
glutChangeToSubMenu - changes the specified menu item in the current menu into a sub-menu trigger.
glutCopyColormap - copies the logical colormap for the layer in use from a specified window to the current window.
glutCreateMenu - creates a new pop-up menu.
glutCreateSubWindow - creates a subwindow.
glutCreateWindow - creates a top-level window.
glutDestroyMenu - destroys the specified menu.
glutDestroyWindow - destroys the specified window.
glutDeviceGet - retrieves GLUT device information represented by integers.
glutDialsFunc - sets the dial & button box dials callback for the current window.
glutDisplayFunc - sets the display callback for the current window.
glutEnterGameMode - enters and leaves GLUT's game mode.
glutEntryFunc - sets the mouse enter/leave callback for the current window.
glutEstablishOverlay - establishes an overlay (if possible) for the current window.
glutExtensionSupported - helps to easily determine whether a given OpenGL extension is supported.
glutForceJoystickFunc - forces current window's joystick callback to be called.
glutFullScreen - requests that the current window be made full screen.
glutGameModeGet - retrieves GLUT game mode information represented by integers.
glutGameModeString - sets the game mode configuration via a string.
glutGet - retrieves simple GLUT state represented by integers.
glutGetColor - retrieves a red, green, or blue component for a given color index colormap entry for the layer in use's logical colormap for the current window.
glutGetModifiers - returns the modifier key state when certain callbacks were generated.
glutIdleFunc - sets the global idle callback.
glutIgnoreKeyRepeat - determines if auto repeat keystrokes are reported to the current window
glutInit - initialize the GLUT library.
glutInitDisplayMode - sets the initial display mode.
glutInitDisplayString - sets the initial display mode via a string.
glutInitWindowPosition - set the initial window position and size respectively.
glutJoystickFunc - sets the joystick callback for the current window.
glutKeyboardFunc - sets the keyboard callback for the current window.
glutKeyboardUpFunc - sets the keyboard up (key release) callback for the current window.
glutLayerGet - retrieves GLUT state pertaining to the layers of the current window.
glutMainLoop - enters the GLUT event processing loop.
glutMenuStatusFunc - sets the global menu status callback.
glutMotionFunc - set the motion and passive motion callbacks respectively for the current window.
glutMouseFunc - sets the mouse callback for the current window.
glutOverlayDisplayFunc - sets the overlay display callback for the current window.
glutPopWindow - change the stacking order of the current window relative to its siblings.
glutPositionWindow - requests a change to the position of the current window.
glutPostOverlayRedisplay - marks the overlay of the current or specified window as needing to be redisplayed.
glutPostRedisplay - marks the current or specified window as needing to be redisplayed.
glutRemoveMenuItem - remove the specified menu item.
glutRemoveOverlay - removes the overlay (if one exists) from the current window.
glutReportErrors - for debugging purposes; prints out OpenGL run-time errors.
glutReshapeFunc - sets the reshape callback for the current window.
glutReshapeWindow - requests a change to the size of the current window.
glutSetColor - sets the color of a colormap entry in the layer of use for the current window.
glutSetCursor - changes the cursor image of the current window.
glutSetKeyRepeat - sets the key repeat mode
glutSetMenu - set/get the current menu
glutSetWindow - set/get the current window
glutSetWindowTitle - change the window or icon title respectively of the current top-level window.
glutShowOverlay - shows or hides the overlay of the current window
glutShowWindow - change the display status of the current window.
glutSolidCone - render a solid or wireframe cone respectively.
glutSolidCube - render a solid or wireframe cube respectively.
glutSolidDodecahedron - render a solid or wireframe dodecahedron (12-sided regular solid) respectively.
glutSolidIcosahedron - render a solid or wireframe icosahedron (20-sided regular solid) respectively.
glutSolidOctahedron - render a solid or wireframe octahedron (8-sided regular solid) respectively.
glutSolidSphere - render a solid or wireframe sphere respectively.
glutSolidTeapot - render a solid or wireframe teapot respectively.
glutSolidTetrahedron - render a solid or wireframe tetrahedron (4-sided regular solid) respectively.
glutSolidTorus - render a solid or wireframe torus (doughnut) respectively.
glutSpaceballButtonFunc - sets the Spaceball button callback for the current window.
glutSpaceballMotionFunc - sets the Spaceball motion callback for the current window.
glutSpaceballRotateFunc - sets the Spaceball rotation callback for the current window.
glutSpecialFunc - sets the special keyboard callback for the current window.
glutSpecialUpFunc - sets the special keyboard up (key release) callback for the current window.
glutStrokeCharacter - renders a stroke character using OpenGL.
glutStrokeWidth - returns the width/length of a stroke character/string.
glutSwapBuffers - swaps the buffers of the current window if double buffered.
glutTabletButtonFunc - sets the special keyboard callback for the current window.
glutTabletMotionFunc - sets the special keyboard callback for the current window.
glutTimerFunc - registers a timer callback to be triggered in a specified number of milliseconds.
glutUseLayer - changes the layer in use for the current window.
glutVideoResizeGet - retrieves GLUT video resize information represented by integers.
glutVisibilityFunc - sets the visibility callback for the current window.
glutWarpPointer -
glutWindowStatusFunc - sets the window status callback for the current window.