Assignments Assignments

Macros | Functions | Variables
glut.h File Reference
`#include <GL/gl.h>`
`#include <GL/glu.h>`

Go to the source code of this file.

## Macros
#define | APIENTRY
#define | GLUT_APIENTRY_DEFINED
#define | CALLBACK
#define | GLUTAPI extern
#define | GLUTCALLBACK
#define | GLUT_API_VERSION 3
#define | GLUT_XLIB_IMPLEMENTATION 15
#define | GLUT_RGB 0
#define | GLUT_RGBA GLUT_RGB
#define | GLUT_INDEX 1
#define | GLUT_SINGLE 0
#define | GLUT_DOUBLE 2
#define | GLUT_ACCUM 4
#define | GLUT_ALPHA 8
#define | GLUT_DEPTH 16
#define | GLUT_STENCIL 32
#define | GLUT_MULTISAMPLE 128
#define | GLUT_STEREO 256
#define | GLUT_LUMINANCE 512
#define | GLUT_LEFT_BUTTON 0
#define | GLUT_MIDDLE_BUTTON 1
#define | GLUT_RIGHT_BUTTON 2
#define | GLUT_DOWN 0
#define | GLUT_UP 1
#define | GLUT_KEY_F1 1
#define | GLUT_KEY_F2 2
#define | GLUT_KEY_F3 3
#define | GLUT_KEY_F4 4
#define | GLUT_KEY_F5 5
#define | GLUT_KEY_F6 6
#define | GLUT_KEY_F7 7
#define | GLUT_KEY_F8 8
#define | GLUT_KEY_F9 9
#define | GLUT_KEY_F10 10
#define | GLUT_KEY_F11 11
#define | GLUT_KEY_F12 12
#define | GLUT_KEY_LEFT 100
#define | GLUT_KEY_UP 101
#define | GLUT_KEY_RIGHT 102
#define | GLUT_KEY_DOWN 103
#define | GLUT_KEY_PAGE_UP 104
#define | GLUT_KEY_PAGE_DOWN 105
#define | GLUT_KEY_HOME 106
#define | GLUT_KEY_END 107
#define | GLUT_KEY_INSERT 108
#define | GLUT_LEFT 0
#define | GLUT_ENTERED 1
#define | GLUT_MENU_NOT_IN_USE 0
#define | GLUT_MENU_IN_USE 1
#define | GLUT_NOT_VISIBLE 0
#define | GLUT_VISIBLE 1
#define | GLUT_HIDDEN 0
#define | GLUT_FULLY_RETAINED 1
#define | GLUT_PARTIALLY_RETAINED 2
#define | GLUT_FULLY_COVERED 3
#define | GLUT_RED 0
#define | GLUT_GREEN 1
#define | GLUT_BLUE 2
#define | GLUT_STROKE_ROMAN (&glutStrokeRoman)
#define | GLUT_STROKE_MONO_ROMAN (&glutStrokeMonoRoman)
#define | GLUT_BITMAP_9_BY_15 (&glutBitmap9By15)
#define | GLUT_BITMAP_8_BY_13 (&glutBitmap8By13)
#define | GLUT_BITMAP_TIMES_ROMAN_10 (&glutBitmapTimesRoman10)
#define | GLUT_BITMAP_TIMES_ROMAN_24 (&glutBitmapTimesRoman24)
#define | GLUT_BITMAP_HELVETICA_10 (&glutBitmapHelvetica10)
#define | GLUT_BITMAP_HELVETICA_12 (&glutBitmapHelvetica12)
#define | GLUT_BITMAP_HELVETICA_18 (&glutBitmapHelvetica18)
#define | GLUT_WINDOW_X ((GLenum) 100)
#define | GLUT_WINDOW_Y ((GLenum) 101)
#define | GLUT_WINDOW_WIDTH ((GLenum) 102)
#define | GLUT_WINDOW_HEIGHT ((GLenum) 103)
#define | GLUT_WINDOW_BUFFER_SIZE ((GLenum) 104)
#define | GLUT_WINDOW_STENCIL_SIZE ((GLenum) 105)
#define | GLUT_WINDOW_DEPTH_SIZE ((GLenum) 106)
#define | GLUT_WINDOW_RED_SIZE ((GLenum) 107)
#define | GLUT_WINDOW_GREEN_SIZE ((GLenum) 108)
#define | GLUT_WINDOW_BLUE_SIZE ((GLenum) 109)
#define | GLUT_WINDOW_ALPHA_SIZE ((GLenum) 110)
#define | GLUT_WINDOW_ACCUM_RED_SIZE ((GLenum) 111)
#define | GLUT_WINDOW_ACCUM_GREEN_SIZE ((GLenum) 112)
#define | GLUT_WINDOW_ACCUM_BLUE_SIZE ((GLenum) 113)
#define | GLUT_WINDOW_ACCUM_ALPHA_SIZE ((GLenum) 114)
#define | GLUT_WINDOW_DOUBLEBUFFER ((GLenum) 115)
#define | GLUT_WINDOW_RGBA ((GLenum) 116)
#define | GLUT_WINDOW_PARENT ((GLenum) 117)
#define | GLUT_WINDOW_NUM_CHILDREN ((GLenum) 118)
#define | GLUT_WINDOW_COLORMAP_SIZE ((GLenum) 119)
#define | GLUT_WINDOW_NUM_SAMPLES ((GLenum) 120)
#define | GLUT_WINDOW_STEREO ((GLenum) 121)
#define | GLUT_WINDOW_CURSOR ((GLenum) 122)
#define | GLUT_SCREEN_WIDTH ((GLenum) 200)
#define | GLUT_SCREEN_HEIGHT ((GLenum) 201)
#define | GLUT_SCREEN_WIDTH_MM ((GLenum) 202)
#define | GLUT_SCREEN_HEIGHT_MM ((GLenum) 203)
#define | GLUT_MENU_NUM_ITEMS ((GLenum) 300)
#define | GLUT_DISPLAY_MODE_POSSIBLE ((GLenum) 400)
#define | GLUT_INIT_WINDOW_X ((GLenum) 500)
#define | GLUT_INIT_WINDOW_Y ((GLenum) 501)
#define | GLUT_INIT_WINDOW_WIDTH ((GLenum) 502)
#define | GLUT_INIT_WINDOW_HEIGHT ((GLenum) 503)
#define | GLUT_INIT_DISPLAY_MODE ((GLenum) 504)
#define | GLUT_ELAPSED_TIME ((GLenum) 700)
#define | GLUT_WINDOW_FORMAT_ID ((GLenum) 123)
#define | GLUT_HAS_KEYBOARD ((GLenum) 600)
#define | GLUT_HAS_MOUSE ((GLenum) 601)
#define | GLUT_HAS_SPACEBALL ((GLenum) 602)
#define | GLUT_HAS_DIAL_AND_BUTTON_BOX ((GLenum) 603)
#define | GLUT_HAS_TABLET ((GLenum) 604)
#define | GLUT_NUM_MOUSE_BUTTONS ((GLenum) 605)
#define | GLUT_NUM_SPACEBALL_BUTTONS ((GLenum) 606)
#define | GLUT_NUM_BUTTON_BOX_BUTTONS ((GLenum) 607)
#define | GLUT_NUM_DIALS ((GLenum) 608)
#define | GLUT_NUM_TABLET_BUTTONS ((GLenum) 609)
#define | GLUT_DEVICE_IGNORE_KEY_REPEAT ((GLenum) 610)
#define | GLUT_DEVICE_KEY_REPEAT ((GLenum) 611)
#define | GLUT_HAS_JOYSTICK ((GLenum) 612)
#define | GLUT_OWNS_JOYSTICK ((GLenum) 613)
#define | GLUT_JOYSTICK_BUTTONS ((GLenum) 614)
#define | GLUT_JOYSTICK_AXES ((GLenum) 615)
#define | GLUT_JOYSTICK_POLL_RATE ((GLenum) 616)
#define | GLUT_OVERLAY_POSSIBLE ((GLenum) 800)
#define | GLUT_LAYER_IN_USE ((GLenum) 801)
#define | GLUT_HAS_OVERLAY ((GLenum) 802)
#define | GLUT_TRANSPARENT_INDEX ((GLenum) 803)
#define | GLUT_NORMAL_DAMAGED ((GLenum) 804)
#define | GLUT_OVERLAY_DAMAGED ((GLenum) 805)
#define | GLUT_VIDEO_RESIZE_POSSIBLE ((GLenum) 900)
#define | GLUT_VIDEO_RESIZE_IN_USE ((GLenum) 901)
#define | GLUT_VIDEO_RESIZE_X_DELTA ((GLenum) 902)
#define | GLUT_VIDEO_RESIZE_Y_DELTA ((GLenum) 903)
#define | GLUT_VIDEO_RESIZE_WIDTH_DELTA ((GLenum) 904)
#define | GLUT_VIDEO_RESIZE_HEIGHT_DELTA ((GLenum) 905)
#define | GLUT_VIDEO_RESIZE_X ((GLenum) 906)
#define | GLUT_VIDEO_RESIZE_Y ((GLenum) 907)
#define | GLUT_VIDEO_RESIZE_WIDTH ((GLenum) 908)
#define | GLUT_VIDEO_RESIZE_HEIGHT ((GLenum) 909)
#define | GLUT_NORMAL ((GLenum) 0)
#define | GLUT_OVERLAY ((GLenum) 1)
#define | GLUT_ACTIVE_SHIFT 1
#define | GLUT_ACTIVE_CTRL 2
#define | GLUT_ACTIVE_ALT 4
#define | GLUT_CURSOR_RIGHT_ARROW 0
#define | GLUT_CURSOR_LEFT_ARROW 1
#define | GLUT_CURSOR_INFO 2
#define | GLUT_CURSOR_DESTROY 3
#define | GLUT_CURSOR_HELP 4
#define | GLUT_CURSOR_CYCLE 5
#define | GLUT_CURSOR_SPRAY 6
#define | GLUT_CURSOR_WAIT 7
#define | GLUT_CURSOR_TEXT 8
#define | GLUT_CURSOR_CROSSHAIR 9
#define | GLUT_CURSOR_UP_DOWN 10
#define | GLUT_CURSOR_LEFT_RIGHT 11
#define | GLUT_CURSOR_TOP_SIDE 12
#define | GLUT_CURSOR_BOTTOM_SIDE 13
#define | GLUT_CURSOR_LEFT_SIDE 14
#define | GLUT_CURSOR_RIGHT_SIDE 15
#define | GLUT_CURSOR_TOP_LEFT_CORNER 16
#define | GLUT_CURSOR_TOP_RIGHT_CORNER 17
#define | GLUT_CURSOR_BOTTOM_RIGHT_CORNER 18
#define | GLUT_CURSOR_BOTTOM_LEFT_CORNER 19
#define | GLUT_CURSOR_INHERIT 100
#define | GLUT_CURSOR_NONE 101
#define | GLUT_CURSOR_FULL_CROSSHAIR 102
#define | GLUT_KEY_REPEAT_OFF 0
#define | GLUT_KEY_REPEAT_ON 1
#define | GLUT_KEY_REPEAT_DEFAULT 2
#define | GLUT_JOYSTICK_BUTTON_A 1
#define | GLUT_JOYSTICK_BUTTON_B 2
#define | GLUT_JOYSTICK_BUTTON_C 4
#define | GLUT_JOYSTICK_BUTTON_D 8
#define | GLUT_GAME_MODE_ACTIVE ((GLenum) 0)
#define | GLUT_GAME_MODE_POSSIBLE ((GLenum) 1)
#define | GLUT_GAME_MODE_WIDTH ((GLenum) 2)
#define | GLUT_GAME_MODE_HEIGHT ((GLenum) 3)
#define | GLUT_GAME_MODE_PIXEL_DEPTH ((GLenum) 4)
#define | GLUT_GAME_MODE_REFRESH_RATE ((GLenum) 5)
#define | GLUT_GAME_MODE_DISPLAY_CHANGED ((GLenum) 6)

## Functions
void | exit (int)
GLUTAPI void APIENTRY | glutInit (int *argcp, char **argv)
GLUTAPI void APIENTRY | glutInitDisplayMode (unsigned int mode)
GLUTAPI void APIENTRY | glutInitDisplayString (const char *string)
GLUTAPI void APIENTRY | glutInitWindowPosition (int x, int y)
GLUTAPI void APIENTRY | glutInitWindowSize (int width, int height)
GLUTAPI void APIENTRY | glutMainLoop (void)
GLUTAPI int APIENTRY | glutCreateWindow (const char *title)
GLUTAPI int APIENTRY | glutCreateSubWindow (int win, int x, int y, int width, int height)
GLUTAPI void APIENTRY | glutDestroyWindow (int win)
GLUTAPI void APIENTRY | glutPostRedisplay (void)
GLUTAPI void APIENTRY | glutPostWindowRedisplay (int win)
GLUTAPI void APIENTRY | glutSwapBuffers (void)
GLUTAPI int APIENTRY | glutGetWindow (void)
GLUTAPI void APIENTRY | glutSetWindow (int win)
GLUTAPI void APIENTRY | glutSetWindowTitle (const char *title)
GLUTAPI void APIENTRY | glutSetIconTitle (const char *title)
GLUTAPI void APIENTRY | glutPositionWindow (int x, int y)
GLUTAPI void APIENTRY | glutReshapeWindow (int width, int height)
GLUTAPI void APIENTRY | glutPopWindow (void)
GLUTAPI void APIENTRY | glutPushWindow (void)
GLUTAPI void APIENTRY | glutIconifyWindow (void)
GLUTAPI void APIENTRY | glutShowWindow (void)
GLUTAPI void APIENTRY | glutHideWindow (void)
GLUTAPI void APIENTRY | glutFullScreen (void)
GLUTAPI void APIENTRY | glutSetCursor (int cursor)
GLUTAPI void APIENTRY | glutWarpPointer (int x, int y)
GLUTAPI void APIENTRY | glutEstablishOverlay (void)
GLUTAPI void APIENTRY | glutRemoveOverlay (void)
GLUTAPI void APIENTRY | glutUseLayer (GLenum layer)
GLUTAPI void APIENTRY | glutPostOverlayRedisplay (void)
GLUTAPI void APIENTRY | glutPostWindowOverlayRedisplay (int win)
GLUTAPI void APIENTRY | glutShowOverlay (void)
GLUTAPI void APIENTRY | glutHideOverlay (void)
GLUTAPI int APIENTRY | glutCreateMenu (void(GLUTCALLBACK *func)(int))
GLUTAPI void APIENTRY | glutDestroyMenu (int menu)
GLUTAPI int APIENTRY | glutGetMenu (void)
GLUTAPI void APIENTRY | glutSetMenu (int menu)
GLUTAPI void APIENTRY | glutAddMenuEntry (const char *label, int value)
GLUTAPI void APIENTRY | glutAddSubMenu (const char *label, int submenu)
GLUTAPI void APIENTRY | glutChangeToMenuEntry (int item, const char *label, int value)
GLUTAPI void APIENTRY | glutChangeToSubMenu (int item, const char *label, int submenu)
GLUTAPI void APIENTRY | glutRemoveMenuItem (int item)
GLUTAPI void APIENTRY | glutAttachMenu (int button)
GLUTAPI void APIENTRY | glutDetachMenu (int button)
GLUTAPI void APIENTRY | glutDisplayFunc (void(GLUTCALLBACK *func)(void))
GLUTAPI void APIENTRY | glutReshapeFunc (void(GLUTCALLBACK *func)(int width, int height))
GLUTAPI void APIENTRY | glutKeyboardFunc (void(GLUTCALLBACK *func)(unsigned char key, int x, int y))
GLUTAPI void APIENTRY | glutMouseFunc (void(GLUTCALLBACK *func)(int button, int state, int x, int y))
GLUTAPI void APIENTRY | glutMotionFunc (void(GLUTCALLBACK *func)(int x, int y))
GLUTAPI void APIENTRY | glutPassiveMotionFunc (void(GLUTCALLBACK *func)(int x, int y))
GLUTAPI void APIENTRY | glutEntryFunc (void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY | glutVisibilityFunc (void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY | glutIdleFunc (void(GLUTCALLBACK *func)(void))
GLUTAPI void APIENTRY | glutTimerFunc (unsigned int millis, void(GLUTCALLBACK *func)(int value), int value)
GLUTAPI void APIENTRY | glutMenuStateFunc (void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY | glutSpecialFunc (void(GLUTCALLBACK *func)(int key, int x, int y))
GLUTAPI void APIENTRY | glutSpaceballMotionFunc (void(GLUTCALLBACK *func)(int x, int y, int z))
GLUTAPI void APIENTRY | glutSpaceballRotateFunc (void(GLUTCALLBACK *func)(int x, int y, int z))
GLUTAPI void APIENTRY | glutSpaceballButtonFunc (void(GLUTCALLBACK *func)(int button, int state))
GLUTAPI void APIENTRY | glutButtonBoxFunc (void(GLUTCALLBACK *func)(int button, int state))
GLUTAPI void APIENTRY | glutDialsFunc (void(GLUTCALLBACK *func)(int dial, int value))
GLUTAPI void APIENTRY | glutTabletMotionFunc (void(GLUTCALLBACK *func)(int x, int y))
GLUTAPI void APIENTRY | glutTabletButtonFunc (void(GLUTCALLBACK *func)(int button, int state, int x, int y))
GLUTAPI void APIENTRY | glutMenuStatusFunc (void(GLUTCALLBACK *func)(int status, int x, int y))
GLUTAPI void APIENTRY | glutOverlayDisplayFunc (void(GLUTCALLBACK *func)(void))
GLUTAPI void APIENTRY | glutWindowStatusFunc (void(GLUTCALLBACK *func)(int state))
GLUTAPI void APIENTRY | glutKeyboardUpFunc (void(GLUTCALLBACK *func)(unsigned char key, int x, int y))
GLUTAPI void APIENTRY | glutSpecialUpFunc (void(GLUTCALLBACK *func)(int key, int x, int y))
GLUTAPI void APIENTRY | glutJoystickFunc (void(GLUTCALLBACK *func)(unsigned int buttonMask, int x, int y, int z), int pollInterval)
GLUTAPI void APIENTRY | glutSetColor (int, GLfloat red, GLfloat green, GLfloat blue)
GLUTAPI GLfloat APIENTRY | glutGetColor (int ndx, int component)
GLUTAPI void APIENTRY | glutCopyColormap (int win)
GLUTAPI int APIENTRY | glutGet (GLenum type)
GLUTAPI int APIENTRY | glutDeviceGet (GLenum type)
GLUTAPI int APIENTRY | glutExtensionSupported (const char *name)
GLUTAPI int APIENTRY | glutGetModifiers (void)
GLUTAPI int APIENTRY | glutLayerGet (GLenum type)
GLUTAPI void APIENTRY | glutBitmapCharacter (void *font, int character)
GLUTAPI int APIENTRY | glutBitmapWidth (void *font, int character)
GLUTAPI void APIENTRY | glutStrokeCharacter (void *font, int character)
GLUTAPI int APIENTRY | glutStrokeWidth (void *font, int character)
GLUTAPI int APIENTRY | glutBitmapLength (void *font, const unsigned char *string)
GLUTAPI int APIENTRY | glutStrokeLength (void *font, const unsigned char *string)
GLUTAPI void APIENTRY | glutWireSphere (GLdouble radius, GLint slices, GLint stacks)
GLUTAPI void APIENTRY | glutSolidSphere (GLdouble radius, GLint slices, GLint stacks)
GLUTAPI void APIENTRY | glutWireCone (GLdouble base, GLdouble height, GLint slices, GLint stacks)
GLUTAPI void APIENTRY | glutSolidCone (GLdouble base, GLdouble height, GLint slices, GLint stacks)
GLUTAPI void APIENTRY | glutWireCube (GLdouble size)
GLUTAPI void APIENTRY | glutSolidCube (GLdouble size)
GLUTAPI void APIENTRY | glutWireTorus (GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings)
GLUTAPI void APIENTRY | glutSolidTorus (GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings)
GLUTAPI void APIENTRY | glutWireDodecahedron (void)
GLUTAPI void APIENTRY | glutSolidDodecahedron (void)
GLUTAPI void APIENTRY | glutWireTeapot (GLdouble size)
GLUTAPI void APIENTRY | glutSolidTeapot (GLdouble size)
GLUTAPI void APIENTRY | glutWireOctahedron (void)
GLUTAPI void APIENTRY | glutSolidOctahedron (void)
GLUTAPI void APIENTRY | glutWireTetrahedron (void)
GLUTAPI void APIENTRY | glutSolidTetrahedron (void)
GLUTAPI void APIENTRY | glutWireIcosahedron (void)
GLUTAPI void APIENTRY | glutSolidIcosahedron (void)
GLUTAPI int APIENTRY | glutVideoResizeGet (GLenum param)
GLUTAPI void APIENTRY | glutSetupVideoResizing (void)
GLUTAPI void APIENTRY | glutStopVideoResizing (void)
GLUTAPI void APIENTRY | glutVideoResize (int x, int y, int width, int height)
GLUTAPI void APIENTRY | glutVideoPan (int x, int y, int width, int height)
GLUTAPI void APIENTRY | glutReportErrors (void)
GLUTAPI void APIENTRY | glutIgnoreKeyRepeat (int ignore)
GLUTAPI void APIENTRY | glutSetKeyRepeat (int repeatMode)
GLUTAPI void APIENTRY | glutForceJoystickFunc (void)
GLUTAPI void APIENTRY | glutGameModeString (const char *string)
GLUTAPI int APIENTRY | glutEnterGameMode (void)
GLUTAPI void APIENTRY | glutLeaveGameMode (void)
GLUTAPI int APIENTRY | glutGameModeGet (GLenum mode)

## Variables
GLUTAPI void * | glutStrokeRoman
GLUTAPI void * | glutStrokeMonoRoman
GLUTAPI void * | glutBitmap9By15
GLUTAPI void * | glutBitmap8By13
GLUTAPI void * | glutBitmapTimesRoman10
GLUTAPI void * | glutBitmapTimesRoman24
GLUTAPI void * | glutBitmapHelvetica10
GLUTAPI void * | glutBitmapHelvetica12
GLUTAPI void * | glutBitmapHelvetica18

## Macro Definition Documentation

## ◆ APIENTRY

#define APIENTRY

## ◆ CALLBACK

#define CALLBACK

## ◆ GLUT_ACCUM

#define GLUT_ACCUM 4

## ◆ GLUT_ACTIVE_ALT

#define GLUT_ACTIVE_ALT 4

## ◆ GLUT_ACTIVE_CTRL

#define GLUT_ACTIVE_CTRL 2

## ◆ GLUT_ACTIVE_SHIFT

#define GLUT_ACTIVE_SHIFT 1

## ◆ GLUT_ALPHA

#define GLUT_ALPHA 8

## ◆ GLUT_API_VERSION

#define GLUT_API_VERSION 3

GLUT API revision history:

GLUT_API_VERSION is updated to reflect incompatible GLUT API changes (interface changes, semantic changes, deletions, or additions).

GLUT_API_VERSION=1 First public release of GLUT. 11/29/94

GLUT_API_VERSION=2 Added support for OpenGL/GLX multisampling, extension. Supports new input devices like tablet, dial and button box, and Spaceball. Easy to query OpenGL extensions.

GLUT_API_VERSION=3 glutMenuStatus added.

GLUT_API_VERSION=4 glutInitDisplayString, glutWarpPointer, glutBitmapLength, glutStrokeLength, glutWindowStatusFunc, dynamic video resize subAPI, glutPostWindowRedisplay, glutKeyboardUpFunc, glutSpecialUpFunc, glutIgnoreKeyRepeat, glutSetKeyRepeat, glutJoystickFunc, glutForceJoystickFunc (NOT FINALIZED!).

## ◆ GLUT_APIENTRY_DEFINED

#define GLUT_APIENTRY_DEFINED

## ◆ GLUT_BITMAP_8_BY_13

#define GLUT_BITMAP_8_BY_13 (&glutBitmap8By13)

## ◆ GLUT_BITMAP_9_BY_15

#define GLUT_BITMAP_9_BY_15 (&glutBitmap9By15)

## ◆ GLUT_BITMAP_HELVETICA_10

#define GLUT_BITMAP_HELVETICA_10 (&glutBitmapHelvetica10)

## ◆ GLUT_BITMAP_HELVETICA_12

#define GLUT_BITMAP_HELVETICA_12 (&glutBitmapHelvetica12)

## ◆ GLUT_BITMAP_HELVETICA_18

#define GLUT_BITMAP_HELVETICA_18 (&glutBitmapHelvetica18)

## ◆ GLUT_BITMAP_TIMES_ROMAN_10

#define GLUT_BITMAP_TIMES_ROMAN_10 (&glutBitmapTimesRoman10)

## ◆ GLUT_BITMAP_TIMES_ROMAN_24

#define GLUT_BITMAP_TIMES_ROMAN_24 (&glutBitmapTimesRoman24)

## ◆ GLUT_BLUE

#define GLUT_BLUE 2

## ◆ GLUT_CURSOR_BOTTOM_LEFT_CORNER

#define GLUT_CURSOR_BOTTOM_LEFT_CORNER 19

## ◆ GLUT_CURSOR_BOTTOM_RIGHT_CORNER

#define GLUT_CURSOR_BOTTOM_RIGHT_CORNER 18

## ◆ GLUT_CURSOR_BOTTOM_SIDE

#define GLUT_CURSOR_BOTTOM_SIDE 13

## ◆ GLUT_CURSOR_CROSSHAIR

#define GLUT_CURSOR_CROSSHAIR 9

## ◆ GLUT_CURSOR_CYCLE

#define GLUT_CURSOR_CYCLE 5

## ◆ GLUT_CURSOR_DESTROY

#define GLUT_CURSOR_DESTROY 3

## ◆ GLUT_CURSOR_FULL_CROSSHAIR

#define GLUT_CURSOR_FULL_CROSSHAIR 102

## ◆ GLUT_CURSOR_HELP

#define GLUT_CURSOR_HELP 4

## ◆ GLUT_CURSOR_INFO

#define GLUT_CURSOR_INFO 2

## ◆ GLUT_CURSOR_INHERIT

#define GLUT_CURSOR_INHERIT 100

## ◆ GLUT_CURSOR_LEFT_ARROW

#define GLUT_CURSOR_LEFT_ARROW 1

## ◆ GLUT_CURSOR_LEFT_RIGHT

#define GLUT_CURSOR_LEFT_RIGHT 11

## ◆ GLUT_CURSOR_LEFT_SIDE

#define GLUT_CURSOR_LEFT_SIDE 14

## ◆ GLUT_CURSOR_NONE

#define GLUT_CURSOR_NONE 101

## ◆ GLUT_CURSOR_RIGHT_ARROW

#define GLUT_CURSOR_RIGHT_ARROW 0

## ◆ GLUT_CURSOR_RIGHT_SIDE

#define GLUT_CURSOR_RIGHT_SIDE 15

## ◆ GLUT_CURSOR_SPRAY

#define GLUT_CURSOR_SPRAY 6

## ◆ GLUT_CURSOR_TEXT

#define GLUT_CURSOR_TEXT 8

## ◆ GLUT_CURSOR_TOP_LEFT_CORNER

#define GLUT_CURSOR_TOP_LEFT_CORNER 16

## ◆ GLUT_CURSOR_TOP_RIGHT_CORNER

#define GLUT_CURSOR_TOP_RIGHT_CORNER 17

## ◆ GLUT_CURSOR_TOP_SIDE

#define GLUT_CURSOR_TOP_SIDE 12

## ◆ GLUT_CURSOR_UP_DOWN

#define GLUT_CURSOR_UP_DOWN 10

## ◆ GLUT_CURSOR_WAIT

#define GLUT_CURSOR_WAIT 7

## ◆ GLUT_DEPTH

#define GLUT_DEPTH 16

## ◆ GLUT_DEVICE_IGNORE_KEY_REPEAT

#define GLUT_DEVICE_IGNORE_KEY_REPEAT ((GLenum) 610)

## ◆ GLUT_DEVICE_KEY_REPEAT

#define GLUT_DEVICE_KEY_REPEAT ((GLenum) 611)

## ◆ GLUT_DISPLAY_MODE_POSSIBLE

#define GLUT_DISPLAY_MODE_POSSIBLE ((GLenum) 400)

## ◆ GLUT_DOUBLE

#define GLUT_DOUBLE 2

## ◆ GLUT_DOWN

#define GLUT_DOWN 0

## ◆ GLUT_ELAPSED_TIME

#define GLUT_ELAPSED_TIME ((GLenum) 700)

## ◆ GLUT_ENTERED

#define GLUT_ENTERED 1

## ◆ GLUT_FULLY_COVERED

#define GLUT_FULLY_COVERED 3

## ◆ GLUT_FULLY_RETAINED

#define GLUT_FULLY_RETAINED 1

## ◆ GLUT_GAME_MODE_ACTIVE

#define GLUT_GAME_MODE_ACTIVE ((GLenum) 0)

## ◆ GLUT_GAME_MODE_DISPLAY_CHANGED

#define GLUT_GAME_MODE_DISPLAY_CHANGED ((GLenum) 6)

## ◆ GLUT_GAME_MODE_HEIGHT

#define GLUT_GAME_MODE_HEIGHT ((GLenum) 3)

## ◆ GLUT_GAME_MODE_PIXEL_DEPTH

#define GLUT_GAME_MODE_PIXEL_DEPTH ((GLenum) 4)

## ◆ GLUT_GAME_MODE_POSSIBLE

#define GLUT_GAME_MODE_POSSIBLE ((GLenum) 1)

## ◆ GLUT_GAME_MODE_REFRESH_RATE

#define GLUT_GAME_MODE_REFRESH_RATE ((GLenum) 5)

## ◆ GLUT_GAME_MODE_WIDTH

#define GLUT_GAME_MODE_WIDTH ((GLenum) 2)

## ◆ GLUT_GREEN

#define GLUT_GREEN 1

## ◆ GLUT_HAS_DIAL_AND_BUTTON_BOX

#define GLUT_HAS_DIAL_AND_BUTTON_BOX ((GLenum) 603)

## ◆ GLUT_HAS_JOYSTICK

#define GLUT_HAS_JOYSTICK ((GLenum) 612)

## ◆ GLUT_HAS_KEYBOARD

#define GLUT_HAS_KEYBOARD ((GLenum) 600)

## ◆ GLUT_HAS_MOUSE

#define GLUT_HAS_MOUSE ((GLenum) 601)

## ◆ GLUT_HAS_OVERLAY

#define GLUT_HAS_OVERLAY ((GLenum) 802)

## ◆ GLUT_HAS_SPACEBALL

#define GLUT_HAS_SPACEBALL ((GLenum) 602)

## ◆ GLUT_HAS_TABLET

#define GLUT_HAS_TABLET ((GLenum) 604)

## ◆ GLUT_HIDDEN

#define GLUT_HIDDEN 0

## ◆ GLUT_INDEX

#define GLUT_INDEX 1

## ◆ GLUT_INIT_DISPLAY_MODE

#define GLUT_INIT_DISPLAY_MODE ((GLenum) 504)

## ◆ GLUT_INIT_WINDOW_HEIGHT

#define GLUT_INIT_WINDOW_HEIGHT ((GLenum) 503)

## ◆ GLUT_INIT_WINDOW_WIDTH

#define GLUT_INIT_WINDOW_WIDTH ((GLenum) 502)

## ◆ GLUT_INIT_WINDOW_X

#define GLUT_INIT_WINDOW_X ((GLenum) 500)

## ◆ GLUT_INIT_WINDOW_Y

#define GLUT_INIT_WINDOW_Y ((GLenum) 501)

## ◆ GLUT_JOYSTICK_AXES

#define GLUT_JOYSTICK_AXES ((GLenum) 615)

## ◆ GLUT_JOYSTICK_BUTTON_A

#define GLUT_JOYSTICK_BUTTON_A 1

## ◆ GLUT_JOYSTICK_BUTTON_B

#define GLUT_JOYSTICK_BUTTON_B 2

## ◆ GLUT_JOYSTICK_BUTTON_C

#define GLUT_JOYSTICK_BUTTON_C 4

## ◆ GLUT_JOYSTICK_BUTTON_D

#define GLUT_JOYSTICK_BUTTON_D 8

## ◆ GLUT_JOYSTICK_BUTTONS

#define GLUT_JOYSTICK_BUTTONS ((GLenum) 614)

## ◆ GLUT_JOYSTICK_POLL_RATE

#define GLUT_JOYSTICK_POLL_RATE ((GLenum) 616)

## ◆ GLUT_KEY_DOWN

#define GLUT_KEY_DOWN 103

## ◆ GLUT_KEY_END

#define GLUT_KEY_END 107

## ◆ GLUT_KEY_F1

#define GLUT_KEY_F1 1

## ◆ GLUT_KEY_F10

#define GLUT_KEY_F10 10

## ◆ GLUT_KEY_F11

#define GLUT_KEY_F11 11

## ◆ GLUT_KEY_F12

#define GLUT_KEY_F12 12

## ◆ GLUT_KEY_F2

#define GLUT_KEY_F2 2

## ◆ GLUT_KEY_F3

#define GLUT_KEY_F3 3

## ◆ GLUT_KEY_F4

#define GLUT_KEY_F4 4

## ◆ GLUT_KEY_F5

#define GLUT_KEY_F5 5

## ◆ GLUT_KEY_F6

#define GLUT_KEY_F6 6

## ◆ GLUT_KEY_F7

#define GLUT_KEY_F7 7

## ◆ GLUT_KEY_F8

#define GLUT_KEY_F8 8

## ◆ GLUT_KEY_F9

#define GLUT_KEY_F9 9

## ◆ GLUT_KEY_HOME

#define GLUT_KEY_HOME 106

## ◆ GLUT_KEY_INSERT

#define GLUT_KEY_INSERT 108

## ◆ GLUT_KEY_LEFT

#define GLUT_KEY_LEFT 100

## ◆ GLUT_KEY_PAGE_DOWN

#define GLUT_KEY_PAGE_DOWN 105

## ◆ GLUT_KEY_PAGE_UP

#define GLUT_KEY_PAGE_UP 104

## ◆ GLUT_KEY_REPEAT_DEFAULT

#define GLUT_KEY_REPEAT_DEFAULT 2

## ◆ GLUT_KEY_REPEAT_OFF

#define GLUT_KEY_REPEAT_OFF 0

## ◆ GLUT_KEY_REPEAT_ON

#define GLUT_KEY_REPEAT_ON 1

## ◆ GLUT_KEY_RIGHT

#define GLUT_KEY_RIGHT 102

## ◆ GLUT_KEY_UP

#define GLUT_KEY_UP 101

## ◆ GLUT_LAYER_IN_USE

#define GLUT_LAYER_IN_USE ((GLenum) 801)

## ◆ GLUT_LEFT

#define GLUT_LEFT 0

## ◆ GLUT_LEFT_BUTTON

#define GLUT_LEFT_BUTTON 0

## ◆ GLUT_LUMINANCE

#define GLUT_LUMINANCE 512

## ◆ GLUT_MENU_IN_USE

#define GLUT_MENU_IN_USE 1

## ◆ GLUT_MENU_NOT_IN_USE

#define GLUT_MENU_NOT_IN_USE 0

## ◆ GLUT_MENU_NUM_ITEMS

#define GLUT_MENU_NUM_ITEMS ((GLenum) 300)

## ◆ GLUT_MIDDLE_BUTTON

#define GLUT_MIDDLE_BUTTON 1

## ◆ GLUT_MULTISAMPLE

#define GLUT_MULTISAMPLE 128

## ◆ GLUT_NORMAL

#define GLUT_NORMAL ((GLenum) 0)

## ◆ GLUT_NORMAL_DAMAGED

#define GLUT_NORMAL_DAMAGED ((GLenum) 804)

## ◆ GLUT_NOT_VISIBLE

#define GLUT_NOT_VISIBLE 0

## ◆ GLUT_NUM_BUTTON_BOX_BUTTONS

#define GLUT_NUM_BUTTON_BOX_BUTTONS ((GLenum) 607)

## ◆ GLUT_NUM_DIALS

#define GLUT_NUM_DIALS ((GLenum) 608)

## ◆ GLUT_NUM_MOUSE_BUTTONS

#define GLUT_NUM_MOUSE_BUTTONS ((GLenum) 605)

## ◆ GLUT_NUM_SPACEBALL_BUTTONS

#define GLUT_NUM_SPACEBALL_BUTTONS ((GLenum) 606)

## ◆ GLUT_NUM_TABLET_BUTTONS

#define GLUT_NUM_TABLET_BUTTONS ((GLenum) 609)

## ◆ GLUT_OVERLAY

#define GLUT_OVERLAY ((GLenum) 1)

## ◆ GLUT_OVERLAY_DAMAGED

#define GLUT_OVERLAY_DAMAGED ((GLenum) 805)

## ◆ GLUT_OVERLAY_POSSIBLE

#define GLUT_OVERLAY_POSSIBLE ((GLenum) 800)

## ◆ GLUT_OWNS_JOYSTICK

#define GLUT_OWNS_JOYSTICK ((GLenum) 613)

## ◆ GLUT_PARTIALLY_RETAINED

#define GLUT_PARTIALLY_RETAINED 2

## ◆ GLUT_RED

#define GLUT_RED 0

## ◆ GLUT_RGB

#define GLUT_RGB 0

## ◆ GLUT_RGBA

#define GLUT_RGBA GLUT_RGB

## ◆ GLUT_RIGHT_BUTTON

#define GLUT_RIGHT_BUTTON 2

## ◆ GLUT_SCREEN_HEIGHT

#define GLUT_SCREEN_HEIGHT ((GLenum) 201)

## ◆ GLUT_SCREEN_HEIGHT_MM

#define GLUT_SCREEN_HEIGHT_MM ((GLenum) 203)

## ◆ GLUT_SCREEN_WIDTH

#define GLUT_SCREEN_WIDTH ((GLenum) 200)

## ◆ GLUT_SCREEN_WIDTH_MM

#define GLUT_SCREEN_WIDTH_MM ((GLenum) 202)

## ◆ GLUT_SINGLE

#define GLUT_SINGLE 0

## ◆ GLUT_STENCIL

#define GLUT_STENCIL 32

## ◆ GLUT_STEREO

#define GLUT_STEREO 256

## ◆ GLUT_STROKE_MONO_ROMAN

#define GLUT_STROKE_MONO_ROMAN (&glutStrokeMonoRoman)

## ◆ GLUT_STROKE_ROMAN

#define GLUT_STROKE_ROMAN (&glutStrokeRoman)

## ◆ GLUT_TRANSPARENT_INDEX

#define GLUT_TRANSPARENT_INDEX ((GLenum) 803)

## ◆ GLUT_UP

#define GLUT_UP 1

## ◆ GLUT_VIDEO_RESIZE_HEIGHT

#define GLUT_VIDEO_RESIZE_HEIGHT ((GLenum) 909)

## ◆ GLUT_VIDEO_RESIZE_HEIGHT_DELTA

#define GLUT_VIDEO_RESIZE_HEIGHT_DELTA ((GLenum) 905)

## ◆ GLUT_VIDEO_RESIZE_IN_USE

#define GLUT_VIDEO_RESIZE_IN_USE ((GLenum) 901)

## ◆ GLUT_VIDEO_RESIZE_POSSIBLE

#define GLUT_VIDEO_RESIZE_POSSIBLE ((GLenum) 900)

## ◆ GLUT_VIDEO_RESIZE_WIDTH

#define GLUT_VIDEO_RESIZE_WIDTH ((GLenum) 908)

## ◆ GLUT_VIDEO_RESIZE_WIDTH_DELTA

#define GLUT_VIDEO_RESIZE_WIDTH_DELTA ((GLenum) 904)

## ◆ GLUT_VIDEO_RESIZE_X

#define GLUT_VIDEO_RESIZE_X ((GLenum) 906)

## ◆ GLUT_VIDEO_RESIZE_X_DELTA

#define GLUT_VIDEO_RESIZE_X_DELTA ((GLenum) 902)

## ◆ GLUT_VIDEO_RESIZE_Y

#define GLUT_VIDEO_RESIZE_Y ((GLenum) 907)

## ◆ GLUT_VIDEO_RESIZE_Y_DELTA

#define GLUT_VIDEO_RESIZE_Y_DELTA ((GLenum) 903)

## ◆ GLUT_VISIBLE

#define GLUT_VISIBLE 1

## ◆ GLUT_WINDOW_ACCUM_ALPHA_SIZE

#define GLUT_WINDOW_ACCUM_ALPHA_SIZE ((GLenum) 114)

## ◆ GLUT_WINDOW_ACCUM_BLUE_SIZE

#define GLUT_WINDOW_ACCUM_BLUE_SIZE ((GLenum) 113)

## ◆ GLUT_WINDOW_ACCUM_GREEN_SIZE

#define GLUT_WINDOW_ACCUM_GREEN_SIZE ((GLenum) 112)

## ◆ GLUT_WINDOW_ACCUM_RED_SIZE

#define GLUT_WINDOW_ACCUM_RED_SIZE ((GLenum) 111)

## ◆ GLUT_WINDOW_ALPHA_SIZE

#define GLUT_WINDOW_ALPHA_SIZE ((GLenum) 110)

## ◆ GLUT_WINDOW_BLUE_SIZE

#define GLUT_WINDOW_BLUE_SIZE ((GLenum) 109)

## ◆ GLUT_WINDOW_BUFFER_SIZE

#define GLUT_WINDOW_BUFFER_SIZE ((GLenum) 104)

## ◆ GLUT_WINDOW_COLORMAP_SIZE

#define GLUT_WINDOW_COLORMAP_SIZE ((GLenum) 119)

## ◆ GLUT_WINDOW_CURSOR

#define GLUT_WINDOW_CURSOR ((GLenum) 122)

## ◆ GLUT_WINDOW_DEPTH_SIZE

#define GLUT_WINDOW_DEPTH_SIZE ((GLenum) 106)

## ◆ GLUT_WINDOW_DOUBLEBUFFER

#define GLUT_WINDOW_DOUBLEBUFFER ((GLenum) 115)

## ◆ GLUT_WINDOW_FORMAT_ID

#define GLUT_WINDOW_FORMAT_ID ((GLenum) 123)

## ◆ GLUT_WINDOW_GREEN_SIZE

#define GLUT_WINDOW_GREEN_SIZE ((GLenum) 108)

## ◆ GLUT_WINDOW_HEIGHT

#define GLUT_WINDOW_HEIGHT ((GLenum) 103)

## ◆ GLUT_WINDOW_NUM_CHILDREN

#define GLUT_WINDOW_NUM_CHILDREN ((GLenum) 118)

## ◆ GLUT_WINDOW_NUM_SAMPLES

#define GLUT_WINDOW_NUM_SAMPLES ((GLenum) 120)

## ◆ GLUT_WINDOW_PARENT

#define GLUT_WINDOW_PARENT ((GLenum) 117)

## ◆ GLUT_WINDOW_RED_SIZE

#define GLUT_WINDOW_RED_SIZE ((GLenum) 107)

## ◆ GLUT_WINDOW_RGBA

#define GLUT_WINDOW_RGBA ((GLenum) 116)

## ◆ GLUT_WINDOW_STENCIL_SIZE

#define GLUT_WINDOW_STENCIL_SIZE ((GLenum) 105)

## ◆ GLUT_WINDOW_STEREO

#define GLUT_WINDOW_STEREO ((GLenum) 121)

## ◆ GLUT_WINDOW_WIDTH

#define GLUT_WINDOW_WIDTH ((GLenum) 102)

## ◆ GLUT_WINDOW_X

#define GLUT_WINDOW_X ((GLenum) 100)

## ◆ GLUT_WINDOW_Y

#define GLUT_WINDOW_Y ((GLenum) 101)

## ◆ GLUT_XLIB_IMPLEMENTATION

#define GLUT_XLIB_IMPLEMENTATION 15

GLUT implementation revision history:

GLUT_XLIB_IMPLEMENTATION is updated to reflect both GLUT API revisions and implementation revisions (ie, bug fixes).

GLUT_XLIB_IMPLEMENTATION=1 mjk's first public release of GLUT Xlib-based implementation. 11/29/94

GLUT_XLIB_IMPLEMENTATION=2 mjk's second public release of GLUT Xlib-based implementation providing GLUT version 2 interfaces.

GLUT_XLIB_IMPLEMENTATION=3 mjk's GLUT 2.2 images. 4/17/95

GLUT_XLIB_IMPLEMENTATION=4 mjk's GLUT 2.3 images. 6/?/95

GLUT_XLIB_IMPLEMENTATION=5 mjk's GLUT 3.0 images. 10/?/95

GLUT_XLIB_IMPLEMENTATION=7 mjk's GLUT 3.1+ with glutWarpPoitner. 7/24/96

GLUT_XLIB_IMPLEMENTATION=8 mjk's GLUT 3.1+ with glutWarpPoitner and video resize. 1/3/97

GLUT_XLIB_IMPLEMENTATION=9 mjk's GLUT 3.4 release with early GLUT 4 routines.

GLUT_XLIB_IMPLEMENTATION=11 Mesa 2.5's GLUT 3.6 release.

GLUT_XLIB_IMPLEMENTATION=12 mjk's GLUT 3.6 release with early GLUT 4 routines + signal handling.

GLUT_XLIB_IMPLEMENTATION=13 mjk's GLUT 3.7 beta with GameGLUT support.

GLUT_XLIB_IMPLEMENTATION=14 mjk's GLUT 3.7 beta with f90gl friend interface.

GLUT_XLIB_IMPLEMENTATION=15 mjk's GLUT 3.7 beta sync'ed with Mesa <GL/glut.h>

## ◆ GLUTAPI

#define GLUTAPI extern

## ◆ GLUTCALLBACK

#define GLUTCALLBACK

## Function Documentation

## ◆ exit()

void exit | ( | int |  | ) |
| extern

## ◆ glutAddMenuEntry()

GLUTAPI void APIENTRY glutAddMenuEntry | ( | const char * | label,
|  | int | value )

## ◆ glutAddSubMenu()

GLUTAPI void APIENTRY glutAddSubMenu | ( | const char * | label,
|  | int | submenu )

## ◆ glutAttachMenu()

GLUTAPI void APIENTRY glutAttachMenu | ( | int | button | ) |

## ◆ glutBitmapCharacter()

GLUTAPI void APIENTRY glutBitmapCharacter | ( | void * | font,
|  | int | character )

## ◆ glutBitmapLength()

GLUTAPI int APIENTRY glutBitmapLength | ( | void * | font,
|  | const unsigned char * | string )

## ◆ glutBitmapWidth()

GLUTAPI int APIENTRY glutBitmapWidth | ( | void * | font,
|  | int | character )

## ◆ glutButtonBoxFunc()

GLUTAPI void APIENTRY glutButtonBoxFunc | ( | void(GLUTCALLBACK *func)(int button, int state) |  | ) |

## ◆ glutChangeToMenuEntry()

GLUTAPI void APIENTRY glutChangeToMenuEntry | ( | int | item,
|  | const char * | label,
|  | int | value )

## ◆ glutChangeToSubMenu()

GLUTAPI void APIENTRY glutChangeToSubMenu | ( | int | item,
|  | const char * | label,
|  | int | submenu )

## ◆ glutCopyColormap()

GLUTAPI void APIENTRY glutCopyColormap | ( | int | win | ) |

## ◆ glutCreateMenu()

GLUTAPI int APIENTRY glutCreateMenu | ( | void(GLUTCALLBACK *func)(int) |  | ) |

## ◆ glutCreateSubWindow()

GLUTAPI int APIENTRY glutCreateSubWindow | ( | int | win,
|  | int | x,
|  | int | y,
|  | int | width,
|  | int | height )

## ◆ glutCreateWindow()

GLUTAPI int APIENTRY glutCreateWindow | ( | const char * | title | ) |

## ◆ glutDestroyMenu()

GLUTAPI void APIENTRY glutDestroyMenu | ( | int | menu | ) |

## ◆ glutDestroyWindow()

GLUTAPI void APIENTRY glutDestroyWindow | ( | int | win | ) |

## ◆ glutDetachMenu()

GLUTAPI void APIENTRY glutDetachMenu | ( | int | button | ) |

## ◆ glutDeviceGet()

GLUTAPI int APIENTRY glutDeviceGet | ( | GLenum | type | ) |

## ◆ glutDialsFunc()

GLUTAPI void APIENTRY glutDialsFunc | ( | void(GLUTCALLBACK *func)(int dial, int value) |  | ) |

## ◆ glutDisplayFunc()

GLUTAPI void APIENTRY glutDisplayFunc | ( | void(GLUTCALLBACK *func)(void) |  | ) |

## ◆ glutEnterGameMode()

GLUTAPI int APIENTRY glutEnterGameMode | ( | void |  | ) |

## ◆ glutEntryFunc()

GLUTAPI void APIENTRY glutEntryFunc | ( | void(GLUTCALLBACK *func)(int state) |  | ) |

## ◆ glutEstablishOverlay()

GLUTAPI void APIENTRY glutEstablishOverlay | ( | void |  | ) |

## ◆ glutExtensionSupported()

GLUTAPI int APIENTRY glutExtensionSupported | ( | const char * | name | ) |

## ◆ glutForceJoystickFunc()

GLUTAPI void APIENTRY glutForceJoystickFunc | ( | void |  | ) |

## ◆ glutFullScreen()

GLUTAPI void APIENTRY glutFullScreen | ( | void |  | ) |

## ◆ glutGameModeGet()

GLUTAPI int APIENTRY glutGameModeGet | ( | GLenum | mode | ) |

## ◆ glutGameModeString()

GLUTAPI void APIENTRY glutGameModeString | ( | const char * | string | ) |

## ◆ glutGet()

GLUTAPI int APIENTRY glutGet | ( | GLenum | type | ) |

## ◆ glutGetColor()

GLUTAPI GLfloat APIENTRY glutGetColor | ( | int | ndx,
|  | int | component )

## ◆ glutGetMenu()

GLUTAPI int APIENTRY glutGetMenu | ( | void |  | ) |

## ◆ glutGetModifiers()

GLUTAPI int APIENTRY glutGetModifiers | ( | void |  | ) |

## ◆ glutGetWindow()

GLUTAPI int APIENTRY glutGetWindow | ( | void |  | ) |

## ◆ glutHideOverlay()

GLUTAPI void APIENTRY glutHideOverlay | ( | void |  | ) |

## ◆ glutHideWindow()

GLUTAPI void APIENTRY glutHideWindow | ( | void |  | ) |

## ◆ glutIconifyWindow()

GLUTAPI void APIENTRY glutIconifyWindow | ( | void |  | ) |

## ◆ glutIdleFunc()

GLUTAPI void APIENTRY glutIdleFunc | ( | void(GLUTCALLBACK *func)(void) |  | ) |

## ◆ glutIgnoreKeyRepeat()

GLUTAPI void APIENTRY glutIgnoreKeyRepeat | ( | int | ignore | ) |

## ◆ glutInit()

GLUTAPI void APIENTRY glutInit | ( | int * | argcp,
|  | char ** | argv )

## ◆ glutInitDisplayMode()

GLUTAPI void APIENTRY glutInitDisplayMode | ( | unsigned int | mode | ) |

## ◆ glutInitDisplayString()

GLUTAPI void APIENTRY glutInitDisplayString | ( | const char * | string | ) |

## ◆ glutInitWindowPosition()

GLUTAPI void APIENTRY glutInitWindowPosition | ( | int | x,
|  | int | y )

## ◆ glutInitWindowSize()

GLUTAPI void APIENTRY glutInitWindowSize | ( | int | width,
|  | int | height )

## ◆ glutJoystickFunc()

GLUTAPI void APIENTRY glutJoystickFunc | ( | void(GLUTCALLBACK *func)(unsigned int buttonMask, int x, int y, int z) | ,
|  | int | pollInterval )

## ◆ glutKeyboardFunc()

GLUTAPI void APIENTRY glutKeyboardFunc | ( | void(GLUTCALLBACK *func)(unsigned char key, int x, int y) |  | ) |

## ◆ glutKeyboardUpFunc()

GLUTAPI void APIENTRY glutKeyboardUpFunc | ( | void(GLUTCALLBACK *func)(unsigned char key, int x, int y) |  | ) |

## ◆ glutLayerGet()

GLUTAPI int APIENTRY glutLayerGet | ( | GLenum | type | ) |

## ◆ glutLeaveGameMode()

GLUTAPI void APIENTRY glutLeaveGameMode | ( | void |  | ) |

## ◆ glutMainLoop()

GLUTAPI void APIENTRY glutMainLoop | ( | void |  | ) |

## ◆ glutMenuStateFunc()

GLUTAPI void APIENTRY glutMenuStateFunc | ( | void(GLUTCALLBACK *func)(int state) |  | ) |

## ◆ glutMenuStatusFunc()

GLUTAPI void APIENTRY glutMenuStatusFunc | ( | void(GLUTCALLBACK *func)(int status, int x, int y) |  | ) |

## ◆ glutMotionFunc()

GLUTAPI void APIENTRY glutMotionFunc | ( | void(GLUTCALLBACK *func)(int x, int y) |  | ) |

## ◆ glutMouseFunc()

GLUTAPI void APIENTRY glutMouseFunc | ( | void(GLUTCALLBACK *func)(int button, int state, int x, int y) |  | ) |

## ◆ glutOverlayDisplayFunc()

GLUTAPI void APIENTRY glutOverlayDisplayFunc | ( | void(GLUTCALLBACK *func)(void) |  | ) |

## ◆ glutPassiveMotionFunc()

GLUTAPI void APIENTRY glutPassiveMotionFunc | ( | void(GLUTCALLBACK *func)(int x, int y) |  | ) |

## ◆ glutPopWindow()

GLUTAPI void APIENTRY glutPopWindow | ( | void |  | ) |

## ◆ glutPositionWindow()

GLUTAPI void APIENTRY glutPositionWindow | ( | int | x,
|  | int | y )

## ◆ glutPostOverlayRedisplay()

GLUTAPI void APIENTRY glutPostOverlayRedisplay | ( | void |  | ) |

## ◆ glutPostRedisplay()

GLUTAPI void APIENTRY glutPostRedisplay | ( | void |  | ) |

## ◆ glutPostWindowOverlayRedisplay()

GLUTAPI void APIENTRY glutPostWindowOverlayRedisplay | ( | int | win | ) |

## ◆ glutPostWindowRedisplay()

GLUTAPI void APIENTRY glutPostWindowRedisplay | ( | int | win | ) |

## ◆ glutPushWindow()

GLUTAPI void APIENTRY glutPushWindow | ( | void |  | ) |

## ◆ glutRemoveMenuItem()

GLUTAPI void APIENTRY glutRemoveMenuItem | ( | int | item | ) |

## ◆ glutRemoveOverlay()

GLUTAPI void APIENTRY glutRemoveOverlay | ( | void |  | ) |

## ◆ glutReportErrors()

GLUTAPI void APIENTRY glutReportErrors | ( | void |  | ) |

## ◆ glutReshapeFunc()

GLUTAPI void APIENTRY glutReshapeFunc | ( | void(GLUTCALLBACK *func)(int width, int height) |  | ) |

## ◆ glutReshapeWindow()

GLUTAPI void APIENTRY glutReshapeWindow | ( | int | width,
|  | int | height )

## ◆ glutSetColor()

GLUTAPI void APIENTRY glutSetColor | ( | int | ,
|  | GLfloat | red,
|  | GLfloat | green,
|  | GLfloat | blue )

## ◆ glutSetCursor()

GLUTAPI void APIENTRY glutSetCursor | ( | int | cursor | ) |

## ◆ glutSetIconTitle()

GLUTAPI void APIENTRY glutSetIconTitle | ( | const char * | title | ) |

## ◆ glutSetKeyRepeat()

GLUTAPI void APIENTRY glutSetKeyRepeat | ( | int | repeatMode | ) |

## ◆ glutSetMenu()

GLUTAPI void APIENTRY glutSetMenu | ( | int | menu | ) |

## ◆ glutSetupVideoResizing()

GLUTAPI void APIENTRY glutSetupVideoResizing | ( | void |  | ) |

## ◆ glutSetWindow()

GLUTAPI void APIENTRY glutSetWindow | ( | int | win | ) |

## ◆ glutSetWindowTitle()

GLUTAPI void APIENTRY glutSetWindowTitle | ( | const char * | title | ) |

## ◆ glutShowOverlay()

GLUTAPI void APIENTRY glutShowOverlay | ( | void |  | ) |

## ◆ glutShowWindow()

GLUTAPI void APIENTRY glutShowWindow | ( | void |  | ) |

## ◆ glutSolidCone()

GLUTAPI void APIENTRY glutSolidCone | ( | GLdouble | base,
|  | GLdouble | height,
|  | GLint | slices,
|  | GLint | stacks )

## ◆ glutSolidCube()

GLUTAPI void APIENTRY glutSolidCube | ( | GLdouble | size | ) |

## ◆ glutSolidDodecahedron()

GLUTAPI void APIENTRY glutSolidDodecahedron | ( | void |  | ) |

## ◆ glutSolidIcosahedron()

GLUTAPI void APIENTRY glutSolidIcosahedron | ( | void |  | ) |

## ◆ glutSolidOctahedron()

GLUTAPI void APIENTRY glutSolidOctahedron | ( | void |  | ) |

## ◆ glutSolidSphere()

GLUTAPI void APIENTRY glutSolidSphere | ( | GLdouble | radius,
|  | GLint | slices,
|  | GLint | stacks )

## ◆ glutSolidTeapot()

GLUTAPI void APIENTRY glutSolidTeapot | ( | GLdouble | size | ) |

## ◆ glutSolidTetrahedron()

GLUTAPI void APIENTRY glutSolidTetrahedron | ( | void |  | ) |

## ◆ glutSolidTorus()

GLUTAPI void APIENTRY glutSolidTorus | ( | GLdouble | innerRadius,
|  | GLdouble | outerRadius,
|  | GLint | sides,
|  | GLint | rings )

## ◆ glutSpaceballButtonFunc()

GLUTAPI void APIENTRY glutSpaceballButtonFunc | ( | void(GLUTCALLBACK *func)(int button, int state) |  | ) |

## ◆ glutSpaceballMotionFunc()

GLUTAPI void APIENTRY glutSpaceballMotionFunc | ( | void(GLUTCALLBACK *func)(int x, int y, int z) |  | ) |

## ◆ glutSpaceballRotateFunc()

GLUTAPI void APIENTRY glutSpaceballRotateFunc | ( | void(GLUTCALLBACK *func)(int x, int y, int z) |  | ) |

## ◆ glutSpecialFunc()

GLUTAPI void APIENTRY glutSpecialFunc | ( | void(GLUTCALLBACK *func)(int key, int x, int y) |  | ) |

## ◆ glutSpecialUpFunc()

GLUTAPI void APIENTRY glutSpecialUpFunc | ( | void(GLUTCALLBACK *func)(int key, int x, int y) |  | ) |

## ◆ glutStopVideoResizing()

GLUTAPI void APIENTRY glutStopVideoResizing | ( | void |  | ) |

## ◆ glutStrokeCharacter()

GLUTAPI void APIENTRY glutStrokeCharacter | ( | void * | font,
|  | int | character )

## ◆ glutStrokeLength()

GLUTAPI int APIENTRY glutStrokeLength | ( | void * | font,
|  | const unsigned char * | string )

## ◆ glutStrokeWidth()

GLUTAPI int APIENTRY glutStrokeWidth | ( | void * | font,
|  | int | character )

## ◆ glutSwapBuffers()

GLUTAPI void APIENTRY glutSwapBuffers | ( | void |  | ) |

## ◆ glutTabletButtonFunc()

GLUTAPI void APIENTRY glutTabletButtonFunc | ( | void(GLUTCALLBACK *func)(int button, int state, int x, int y) |  | ) |

## ◆ glutTabletMotionFunc()

GLUTAPI void APIENTRY glutTabletMotionFunc | ( | void(GLUTCALLBACK *func)(int x, int y) |  | ) |

## ◆ glutTimerFunc()

GLUTAPI void APIENTRY glutTimerFunc | ( | unsigned int | millis,
|  | void(GLUTCALLBACK *func)(int value) | ,
|  | int | value )

## ◆ glutUseLayer()

GLUTAPI void APIENTRY glutUseLayer | ( | GLenum | layer | ) |

## ◆ glutVideoPan()

GLUTAPI void APIENTRY glutVideoPan | ( | int | x,
|  | int | y,
|  | int | width,
|  | int | height )

## ◆ glutVideoResize()

GLUTAPI void APIENTRY glutVideoResize | ( | int | x,
|  | int | y,
|  | int | width,
|  | int | height )

## ◆ glutVideoResizeGet()

GLUTAPI int APIENTRY glutVideoResizeGet | ( | GLenum | param | ) |

## ◆ glutVisibilityFunc()

GLUTAPI void APIENTRY glutVisibilityFunc | ( | void(GLUTCALLBACK *func)(int state) |  | ) |

## ◆ glutWarpPointer()

GLUTAPI void APIENTRY glutWarpPointer | ( | int | x,
|  | int | y )

## ◆ glutWindowStatusFunc()

GLUTAPI void APIENTRY glutWindowStatusFunc | ( | void(GLUTCALLBACK *func)(int state) |  | ) |

## ◆ glutWireCone()

GLUTAPI void APIENTRY glutWireCone | ( | GLdouble | base,
|  | GLdouble | height,
|  | GLint | slices,
|  | GLint | stacks )

## ◆ glutWireCube()

GLUTAPI void APIENTRY glutWireCube | ( | GLdouble | size | ) |

## ◆ glutWireDodecahedron()

GLUTAPI void APIENTRY glutWireDodecahedron | ( | void |  | ) |

## ◆ glutWireIcosahedron()

GLUTAPI void APIENTRY glutWireIcosahedron | ( | void |  | ) |

## ◆ glutWireOctahedron()

GLUTAPI void APIENTRY glutWireOctahedron | ( | void |  | ) |

## ◆ glutWireSphere()

GLUTAPI void APIENTRY glutWireSphere | ( | GLdouble | radius,
|  | GLint | slices,
|  | GLint | stacks )

## ◆ glutWireTeapot()

GLUTAPI void APIENTRY glutWireTeapot | ( | GLdouble | size | ) |

## ◆ glutWireTetrahedron()

GLUTAPI void APIENTRY glutWireTetrahedron | ( | void |  | ) |

## ◆ glutWireTorus()

GLUTAPI void APIENTRY glutWireTorus | ( | GLdouble | innerRadius,
|  | GLdouble | outerRadius,
|  | GLint | sides,
|  | GLint | rings )

## Variable Documentation

## ◆ glutBitmap8By13

GLUTAPI void* glutBitmap8By13

## ◆ glutBitmap9By15

GLUTAPI void* glutBitmap9By15

## ◆ glutBitmapHelvetica10

GLUTAPI void* glutBitmapHelvetica10

## ◆ glutBitmapHelvetica12

GLUTAPI void* glutBitmapHelvetica12

## ◆ glutBitmapHelvetica18

GLUTAPI void* glutBitmapHelvetica18

## ◆ glutBitmapTimesRoman10

GLUTAPI void* glutBitmapTimesRoman10

## ◆ glutBitmapTimesRoman24

GLUTAPI void* glutBitmapTimesRoman24

## ◆ glutStrokeMonoRoman

GLUTAPI void* glutStrokeMonoRoman

## ◆ glutStrokeRoman

GLUTAPI void* glutStrokeRoman