| 
       
     | 
    
 
Set an OpenGLUT option. 
 
 - Parameters:
 - 
  
     | eWhat  | Enumerated parameter ID.  |  
     | value  | New value. |  
   
  
Stores the value into a state variable named by eWhat.
Allowable eWhat IDs are: 
 
- GLUT_ACTION_ON_WINDOW_CLOSE 
 
 Controls what happens when a window is closed by the user or system. GLUT_ACTION_EXIT will immediately exit the application (default). GLUT_ACTION_GLUTMAINLOOP_RETURNS will immediately return from the main loop. GLUT_ACTION_CONTINUE_EXECUTION will contine execution of remaining windows.  
 
- GLUT_INIT_DISPLAY_MODE 
 
 Set the display mode for new windows.  
 
- GLUT_INIT_WINDOW_HEIGHT 
 
 Set the initial height of new windows.  
 
- GLUT_INIT_WINDOW_WIDTH 
 
 Set the initial width of new windows.  
 
- GLUT_INIT_WINDOW_X 
 
 Set the initial horizontal position of new windows.  
 
- GLUT_INIT_WINDOW_Y 
 
 Set the initial vertical position of new windows.  
 
- GLUT_RENDERING_CONTEXT 
 
 Either GLUT_CREATE_NEW_CONTEXT or GUT_USE_CURRENT_CONTEXT to indicate whether to share the current OpenGL rendering context with new windows.  
 
- GLUT_WINDOW_CURSOR 
 
 Attempt to set the current window's current cursor as if by glutSetCursor().  
 - See also:
 - glutGet(), glutDeviceGet(), glutGetModifiers(), glutLayerGet(), glutDestroyWindow(), glutMainLoop(), glutInitDisplayMode(), glutInit(), glutInitWindowSize(), glutInitWindowPosition(), glutSetCursor() 
  
     |