|
Defines |
| #define | GLUTAPI |
| #define | APIENTRY |
| #define | GLUTCALLBACK __cdecl |
| #define | GERBERA_ES_1_1 |
| #define | GLUT_API_VERSION 3 |
| #define | GLUTES_API_VERSION 1 |
| #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 ((void*)0) |
| #define | GLUT_STROKE_MONO_ROMAN ((void*)1) |
| #define | GLUT_BITMAP_9_BY_15 ((void*)2) |
| #define | GLUT_BITMAP_8_BY_13 ((void*)3) |
| #define | GLUT_BITMAP_TIMES_ROMAN_10 ((void*)4) |
| #define | GLUT_BITMAP_TIMES_ROMAN_24 ((void*)5) |
| #define | GLUT_BITMAP_HELVETICA_10 ((void*)6) |
| #define | GLUT_BITMAP_HELVETICA_12 ((void*)7) |
| #define | GLUT_BITMAP_HELVETICA_18 ((void*)8) |
| #define | GLUT_BITMAP_4_BY_6 ((void*)10) |
| #define | GLUT_BITMAP_6_BY_8 ((void*)11) |
| #define | GLUT_BITMAP_8_BY_14 ((void*)12) |
| #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_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 | glutBitmapCharacter glutBitmapCharacterPoints |
| #define | glutBitmapString glutBitmapStringPoints |
| #define | GLUT_KEY_REPEAT_OFF 0 |
| #define | GLUT_KEY_REPEAT_ON 1 |
| #define | GLUT_KEY_REPEAT_DEFAULT 2 |
| #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 |
| GLUTAPI void APIENTRY | glutInit (int *argcp, char **argv) |
| | Initialize GLUT ressources.
|
| GLUTAPI void APIENTRY | glutDestroy (void) |
| | Destroys all GLUT windows and ressources.
|
| GLUTAPI void APIENTRY | glutInitDisplayMode (unsigned int mode) |
| | ....
|
| GLUTAPI void APIENTRY | glutInitWindowPosition (int x, int y) |
| | Initializes GLUT ressources.
|
| GLUTAPI void APIENTRY | glutInitWindowSize (int width, int height) |
| | Initializes the default window size.
|
| GLUTAPI void APIENTRY | glutMainLoop (void) |
| | Starts the main GLUT Visualization-Interaction loop.
|
| GLUTAPI int APIENTRY | glutCreateWindow (const char *title) |
| | Creates a window associated to a OpenGL|ES low-level surface.
|
| GLUTAPI void APIENTRY | glutDestroyWindow (int win) |
| | Initializes GLUT ressources.
|
| GLUTAPI void APIENTRY | glutPostRedisplay (void) |
| | Requests the current window to be refreshed.
|
| GLUTAPI void APIENTRY | glutPostWindowRedisplay (int win) |
| | Request a specific window to be refreshed.
|
| GLUTAPI void APIENTRY | glutSwapBuffers (void) |
| | Requests the current window's buffer to be swapped.
|
| GLUTAPI int APIENTRY | glutGetWindow (void) |
| | Gets the current window's handle.
|
| GLUTAPI void APIENTRY | glutSetWindow (int win) |
| | Changes the current window.
|
| GLUTAPI void APIENTRY | glutSetWindowTitle (const char *title) |
| | Changes the current window's title.
|
| GLUTAPI void APIENTRY | glutSetIconTitle (const char *title) |
| GLUTAPI void APIENTRY | glutPositionWindow (int x, int y) |
| GLUTAPI void APIENTRY | glutReshapeWindow (int width, int height) |
| | Reshapes the current window.
|
| GLUTAPI void APIENTRY | glutPopWindow (void) |
| | Change the stacking order of the current window relative to its siblings.
|
| GLUTAPI void APIENTRY | glutPushWindow (void) |
| | Change the stacking order of the current window relative to its siblings.
|
| GLUTAPI void APIENTRY | glutIconifyWindow (void) |
| | Minimize the current window.
|
| GLUTAPI void APIENTRY | glutShowWindow (void) |
| | Show the current window.
|
| GLUTAPI void APIENTRY | glutHideWindow (void) |
| | Hide the current window.
|
| GLUTAPI void APIENTRY | glutFullScreen (void) |
| | Set the current window in fullscreen.
|
| GLUTAPI void APIENTRY | glutSetCursor (int cursor) |
| GLUTAPI int APIENTRY | glutCreateMenu (void(GLUTCALLBACK *func)(int)) |
| | Create a menu.
|
| GLUTAPI void APIENTRY | glutDestroyMenu (int menu) |
| | Destroys a menu.
|
| GLUTAPI int APIENTRY | glutGetMenu (void) |
| | Gets the current menu identifier.
|
| GLUTAPI void APIENTRY | glutSetMenu (int menu) |
| | Sets the current menu identifier.
|
| GLUTAPI void APIENTRY | glutAddMenuEntry (const char *label, int value) |
| | Adds a menu entry to the bottom of the current menu.
|
| GLUTAPI void APIENTRY | glutAddSubMenu (const char *label, int submenu) |
| | Adds a submenu to the current menu.
|
| GLUTAPI void APIENTRY | glutChangeToMenuEntry (int item, const char *label, int value) |
| | Changes the specified menu item in the current menu to a menu entry.
|
| GLUTAPI void APIENTRY | glutChangeToSubMenu (int item, const char *label, int submenu) |
| | Changes the specified menu item in the current menu to a submenu.
|
| GLUTAPI void APIENTRY | glutRemoveMenuItem (int item) |
| | Removes a menu item in the current menu.
|
| GLUTAPI void APIENTRY | glutAttachMenu (int button) |
| | Attaches a mouse button for the current window to the identifier of the current menu.
|
| GLUTAPI void APIENTRY | glutDetachMenu (int button) |
| | Detaches a mouse button for the current window to the identifier of the current menu.
|
| GLUTAPI void APIENTRY | glutDisplayFunc (void(GLUTCALLBACK *func)(void)) |
| | Sets the display callback for the current window.
|
| GLUTAPI void APIENTRY | glutReshapeFunc (void(GLUTCALLBACK *func)(int width, int height)) |
| | Sets the reshape callback for the current window.
|
| GLUTAPI void APIENTRY | glutKeyboardFunc (void(GLUTCALLBACK *func)(unsigned char key, int x, int y)) |
| | Sets the keyboard callback for the current window.
|
| GLUTAPI void APIENTRY | glutKeyboardUpFunc (void(GLUTCALLBACK *func)(unsigned char key, int x, int y)) |
| | Sets the keyboard callback up (key release) for the current window.
|
| GLUTAPI void APIENTRY | glutSpecialFunc (void(GLUTCALLBACK *func)(int key, int x, int y)) |
| | Sets the special keyboard callback for the current window.
|
| GLUTAPI void APIENTRY | glutSpecialUpFunc (void(GLUTCALLBACK *func)(int key, int x, int y)) |
| | Sets the special keyboard up (key release) callback for the current window.
|
| GLUTAPI void APIENTRY | glutMouseFunc (void(GLUTCALLBACK *func)(int button, int state, int x, int y)) |
| | Sets the mouse callback for the current window.
|
| GLUTAPI void APIENTRY | glutMotionFunc (void(GLUTCALLBACK *func)(int x, int y)) |
| | Sets the mouse motion callback for the current window.
|
| GLUTAPI void APIENTRY | glutPassiveMotionFunc (void(GLUTCALLBACK *func)(int x, int y)) |
| | Sets the mouse passive motion callback for the current window.
|
| GLUTAPI void APIENTRY | glutEntryFunc (void(GLUTCALLBACK *func)(int state)) |
| | Sets the mouse enter/leave callback for the current window.
|
| GLUTAPI void APIENTRY | glutVisibilityFunc (void(GLUTCALLBACK *func)(int state)) |
| | Sets the visibility callback for the current window.
|
| GLUTAPI void APIENTRY | glutIdleFunc (void(GLUTCALLBACK *func)(void)) |
| | Sets the global idle callback.
|
| GLUTAPI void APIENTRY | glutTimerFunc (unsigned int millis, void(GLUTCALLBACK *func)(int value), int value) |
| | Registers a timer callback to be triggered in a specified number of milliseconds.
|
| GLUTAPI void APIENTRY | glutMenuStateFunc (void(GLUTCALLBACK *func)(int state)) |
| | Sets the global menu stae callback.
|
| GLUTAPI void APIENTRY | glutMenuStatusFunc (void(GLUTCALLBACK *func)(int status, int x, int y)) |
| | Sets the global menu status callback.
|
| GLUTAPI void APIENTRY | glutWindowStatusFunc (void(GLUTCALLBACK *func)(int state)) |
| GLUTAPI int APIENTRY | glutGet (GLenum state) |
| | Retrieves simple GLUT|ES state represented by integers.
|
| GLUTAPI int APIENTRY | glutDeviceGet (GLenum info) |
| GLUTAPI int APIENTRY | glutExtensionSupported (const char *name) |
| GLUTAPI int APIENTRY | glutGetModifiers (void) |
| GLUTAPI int APIENTRY | glutLayerGet (GLenum type) |
| GLUTAPI void APIENTRY | glutBitmapCharacterPoints (void *font, int x, int y, int character) |
| GLUTAPI void APIENTRY | glutBitmapStringPoints (void *font, int x, int y, const char *string) |
| GLUTAPI void APIENTRY | glutBitmapCharacterTex (void *font, int x, int y, int character) |
| GLUTAPI void APIENTRY | glutBitmapStringTex (void *font, int x, int y, const char *string) |
| GLUTAPI void APIENTRY | glutBitmapCharacter (void *font, int x, int y, int character) |
| | Renders a bitmap character using OpenGL|ES.
|
| GLUTAPI void APIENTRY | glutBitmapString (void *font, int x, int y, const char *string) |
| | Renders a bitmap string using OpenGL|ES.
|
| GLUTAPI int APIENTRY | glutBitmapWidth (void *font, int character) |
| | Returns the width in pixels of a character in a supported bitmap font.
|
| GLUTAPI int APIENTRY | glutBitmapHeight (void *font, int character) |
| | Returns the height in pixels of a character in a supported bitmap font.
|
| GLUTAPI int APIENTRY | glutBitmapLength (void *font, const char *string) |
| | Returns the length in pixels of a string.
|
| GLUTAPI void APIENTRY | glutStrokeCharacter (void *font, int character) |
| | Renders a stroke character using OpenGL|ES.
|
| GLUTAPI void APIENTRY | glutStrokeString (void *fontID, const char *string) |
| | Renders a stroke string using OpenGL|ES.
|
| GLUTAPI int APIENTRY | glutStrokeWidth (void *font, int character) |
| | Returns the width in pixels of a character in a supported stroke font.
|
| GLUTAPI int APIENTRY | glutStrokeHeight (void *font, int character) |
| | Returns the height in pixels of a character in a supported stroke font.
|
| GLUTAPI int APIENTRY | glutStrokeLength (void *font, const char *string) |
| | Returns the length in pixels of a string.
|
| GLUTAPI void APIENTRY | glutWireCube (GLfloat size) |
| | Render a wireframe cube.
|
| GLUTAPI void APIENTRY | glutSolidCube (GLfloat size) |
| | Render a solid cube.
|
| GLUTAPI void APIENTRY | glutWireSphere (GLfloat radius, GLint slices, GLint stacks) |
| | Render a wireframe sphere.
|
| GLUTAPI void APIENTRY | glutSolidSphere (GLfloat radius, GLint slices, GLint stacks) |
| | Render a solid sphere.
|
| GLUTAPI void APIENTRY | glutSolidTorus (GLfloat innerRadius, GLfloat outerRadius, GLint sides, GLint rings) |
| | Render a solid torus.
|
| GLUTAPI void APIENTRY | glutSolidCone (GLfloat base, GLfloat height, GLint slices, GLint stacks) |
| | Render a solid cone.
|
| GLUTAPI int APIENTRY | glutSelectFile (char *filename, const char *filter, const char *title) |
| | Open a select file browser dialog window and let the user choose a file.
|
| GLUTAPI void APIENTRY | glutSimulateButton (int button, int x, int y) |
| | Simulate a button click.
|
| GLUTAPI void APIENTRY | glutUnFullScreen (void) |
| | Disable the fullscreen mode.
|
| GLUTAPI void APIENTRY | glutIgnoreKeyRepeat (int ignore) |
| GLUTAPI void APIENTRY | glutSetKeyRepeat (int repeatMode) |
| GLUTAPI void APIENTRY | glutGameModeString (const char *string) |
| GLUTAPI int APIENTRY | glutEnterGameMode (void) |
| GLUTAPI void APIENTRY | glutLeaveGameMode (void) |
| GLUTAPI int APIENTRY | glutGameModeGet (GLenum mode) |