The methods of the Glut class are listed below. For a complete list of Glut class members, see the Glut Members topic.
![]() ![]() | Adds a menu entry to the bottom of the current menu. |
![]() ![]() | Adds a sub-menu trigger to the bottom of the current menu. |
![]() ![]() | Attaches a mouse button for the current window to the identifier of the current menu. |
![]() ![]() | Renders a bitmap character using OpenGL. |
![]() ![]() | Returns the height of a given font, in pixels. |
![]() ![]() | Returns the length of a bitmap font string. |
![]() ![]() | Draw a string of bitmapped characters. |
![]() ![]() | Returns the width of a bitmap character. |
![]() ![]() | Sets the dial and button box button callback for the current window. |
![]() ![]() | Changes the specified menu item in the current menu into a menu entry. |
![]() ![]() | Changes the specified menu item in the current menu into a sub-menu trigger. |
![]() ![]() | Sets the close callback. |
![]() ![]() | Copies the logical colormap for the layer in use from a specified window to the current window. |
![]() ![]() | Creates a new pop-up menu. |
![]() ![]() | Creates a subwindow. |
![]() ![]() | Creates a top-level window. |
![]() ![]() | Destroys the specified menu. |
![]() ![]() | Destroys the specified window. |
![]() ![]() | Detaches an attached mouse button from the current window. |
![]() ![]() | Retrieves GLUT device information represented by integers. |
![]() ![]() | Sets the dial and button box dials callback for the current window. |
![]() ![]() | Sets the display callback for the current window. |
![]() ![]() | Enters GLUT's game mode. |
![]() ![]() | Sets the mouse enter/leave callback for the current window. |
![]() ![]() | Establishes an overlay (if possible) for the current window. |
![]() ![]() | Helps to easily determine whether a given OpenGL extension is supported. |
![]() ![]() | Forces current window's joystick callback to be called. |
![]() ![]() | Requests that the current window be made full screen. |
![]() ![]() | Retrieves GLUT device information represented by integers. |
![]() ![]() | Sets the game mode configuration via a string. |
![]() ![]() | Retrieves simple GLUT state represented by integers. |
![]() ![]() | 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. |
![]() ![]() | Returns the identifier of the current menu. |
![]() ![]() | Rerieves user data from a menu. |
![]() ![]() | Returns the modifier key state when certain callbacks were generated. |
![]() ![]() | Determine if an procedure or extension is available. |
![]() ![]() | Returns the identifier of the current window. |
![]() ![]() | Get the user data for the current window. |
![]() ![]() | Hides the overlay of the current window. |
![]() ![]() | Changes the display status of the current window. |
![]() ![]() | Changes the display status of the current window. |
![]() ![]() | Sets the global idle callback. |
![]() ![]() | Determines if auto repeat keystrokes are reported to the current window. |
![]() ![]() | Overloaded. Initializes the GLUT library. |
![]() ![]() | Sets the initial display mode. |
![]() ![]() | Sets the initial display mode via a string. |
![]() ![]() | Sets the initial window position. |
![]() ![]() | Sets the initial window size. |
![]() ![]() | Sets the joystick callback for the current window. |
![]() ![]() | Sets the keyboard callback for the current window. |
![]() ![]() | Sets the keyboard up (key release) callback for the current window. |
![]() ![]() | Retrieves GLUT state pertaining to the layers of the current window. |
![]() ![]() | Leaves GLUT's game mode. |
![]() ![]() | Leaves the main loop. |
![]() ![]() | Enters the GLUT event processing loop. |
![]() ![]() | Performs the main loop event and returns control. |
![]() ![]() | Sets the menu destroy callback. |
![]() ![]() | A deprecated version of the glutMenuStatusFunc routine. |
![]() ![]() | Sets the global menu status callback. |
![]() ![]() | Sets the motion callbacks for the current window. |
![]() ![]() | Sets the mouse callback for the current window. |
![]() ![]() | Sets the mouse wheel callback. |
![]() ![]() | Sets the overlay display callback for the current window. |
![]() ![]() | Sets the passive motion callbacks for the current window. |
![]() ![]() | Changes the stacking order of the current window relative to its siblings. |
![]() ![]() | Requests a change to the position of the current window. |
![]() ![]() | Marks the overlay of the current window as needing to be redisplayed. |
![]() ![]() | Marks the current window as needing to be redisplayed. |
![]() ![]() | Marks the overlay of the specified window as needing to be redisplayed. |
![]() ![]() | Marks the specified window as needing to be redisplayed. |
![]() ![]() | Changes the stacking order of the current window relative to its siblings. |
![]() ![]() | Removes the specified menu item. |
![]() ![]() | Removes the overlay (if one exists) from the current window. |
![]() ![]() | Prints out OpenGL run-time errors. |
![]() ![]() | Sets the reshape callback for the current window. |
![]() ![]() | Requests a change to the size of the current window. |
![]() ![]() | Sets the color of a colormap entry in the layer of use for the current window. |
![]() ![]() | Changes the cursor image of the current window. |
![]() ![]() | Changes the icon title of the current top-level window. |
![]() ![]() | Sets the key repeat mode for the window system. |
![]() ![]() | Sets the current menu. |
![]() ![]() | Stores user data in a menu. |
![]() ![]() | Sets simple GLUT state represented by integers. |
![]() ![]() | Unknown. Unable to locate definitive documentation on this method. |
![]() ![]() | Set the user data for the current window. |
![]() ![]() | Sets the current window. |
![]() ![]() | Changes the window title of the current top-level window. |
![]() ![]() | Shows the overlay of the current window. |
![]() ![]() | Changes the display status of the current window. |
![]() ![]() | Renders a solid cone. |
![]() ![]() | Renders a solid cube. |
![]() ![]() | Draw a solid cylinder. |
![]() ![]() | Renders a solid dodecahedron (12-sided regular solid). |
![]() ![]() | Renders a solid icosahedron (20-sided regular solid). |
![]() ![]() | Renders solid octahedron (8-sided regular solid). |
![]() ![]() | Draw a solid rhombic dodecahedron. |
![]() ![]() | Draw a solid Spierspinski's sponge. |
![]() ![]() | Renders a solid sphere. |
![]() ![]() | Renders a solid teapot. |
![]() ![]() | Renders a solid tetrahedron (4-sided regular solid). |
![]() ![]() | Renders a solid torus (doughnut). |
![]() ![]() | Sets the Spaceball button callback for the current window. |
![]() ![]() | Sets the Spaceball motion callback for the current window. |
![]() ![]() | Sets the Spaceball rotation callback for the current window. |
![]() ![]() | Sets the special keyboard callback for the current window. |
![]() ![]() | Sets the special keyboard up (key release) callback for the current window. |
![]() ![]() | Unknown. Unable to locate definitive documentation on this method. |
![]() ![]() | Renders a stroke character using OpenGL. |
![]() ![]() | Returns the height of a given font. |
![]() ![]() | Returns the length of a stroke font string. |
![]() ![]() | Draw a string of stroked characters. |
![]() ![]() | Returns the width of a stroke character. |
![]() ![]() | Swaps the buffers of the current window if double buffered. |
![]() ![]() | Sets the tablet button callback for the current window. |
![]() ![]() | Sets the tablet motion callback for the current window. |
![]() ![]() | Registers a timer callback to be triggered in a specified number of milliseconds. |
![]() ![]() | Changes the layer in use for the current window. |
![]() ![]() | Unknown. Unable to locate definitive documentation on this method. |
![]() ![]() | Unknown. Unable to locate definitive documentation on this method. |
![]() ![]() | Retrieves GLUT video resize information represented by integers. |
![]() ![]() | Sets the visibility callback for the current window. |
![]() ![]() | Warps the pointer's location. |
![]() ![]() | Sets the window status callback for the current window. |
![]() ![]() | Renders a wireframe cone. |
![]() ![]() | Renders a wireframe cube. |
![]() ![]() | Draw a wireframe cylinder. |
![]() ![]() | Renders a wireframe dodecahedron (12-sided regular solid). |
![]() ![]() | Renders a wireframe icosahedron (20-sided regular solid). |
![]() ![]() | Renders wireframe octahedron (8-sided regular solid). |
![]() ![]() | Draw a wireframe rhombic dodecahedron. |
![]() ![]() | Draw a wireframe Spierspinski's sponge |
![]() ![]() | Renders a wireframe sphere. |
![]() ![]() | Renders a wireframe teapot. |
![]() ![]() | Renders a wireframe tetrahedron (4-sided regular solid). |
![]() ![]() | Renders a wireframe torus (doughnut). |
![]() ![]() | Sets the window close callback for the current window. |
![]() | |
![]() | |
![]() | |
![]() |
Glut Class | Tao.FreeGlut Namespace