.Dt GLUTGET 3 LOCAL

NAME glutGet Allows you to query some general state/option variables.

LIBRARYOpenGLUT - state

SYNOPSIS #include <openglut.h>
int glutGet(GLenum eWhat);

PARAMETERS. Bf
 eWhat . Ef
    Enumerated parameter ID.

DESCRIPTIONThis function permits you to query for the current value of many different OpenGLUT state variables. The current list is:
 - . Bf
 GLUT_ACTION_ON_WINDOW_CLOSE . Ef
Allows you to do something other than die if the user closes one of your windows.

 - . Bf
 GLUT_DISPLAY_MODE_POSSIBLE . Ef

 - . Bf
 GLUT_ELAPSED_TIME . Ef

 - . Bf
 GLUT_INIT_DISPLAY_MODE . Ef

 - . Bf
 GLUT_INIT_STATE . Ef

 - . Bf
 GLUT_INIT_WINDOW_HEIGHT . Ef

 - . Bf
 GLUT_INIT_WINDOW_WIDTH . Ef

 - . Bf
 GLUT_INIT_WINDOW_X . Ef

 - . Bf
 GLUT_INIT_WINDOW_Y . Ef

 - . Bf
 GLUT_MENU_NUM_ITEMS . Ef

 - . Bf
 GLUT_RENDERING_CONTEXT . Ef
Allows you to specify context-sharing when you open new windows.

 - . Bf
 GLUT_SCREEN_HEIGHT . Ef

 - . Bf
 GLUT_SCREEN_HEIGHT_MM . Ef
Height in millimeters.

 - . Bf
 GLUT_SCREEN_WIDTH . Ef

 - . Bf
 GLUT_SCREEN_WIDTH_MM . Ef
Width in millimeters.

 - . Bf
 GLUT_VERSION . Ef

 - . Bf
 GLUT_WINDOW_ACCUM_ALPHA_SIZE . Ef

 - . Bf
 GLUT_WINDOW_ACCUM_BLUE_SIZE . Ef

 - . Bf
 GLUT_WINDOW_ACCUM_GREEN_SIZE . Ef

 - . Bf
 GLUT_WINDOW_ACCUM_RED_SIZE . Ef

 - . Bf
 GLUT_WINDOW_ALPHA_SIZE . Ef

 - . Bf
 GLUT_WINDOW_BLUE_SIZE . Ef

 - . Bf
 GLUT_WINDOW_BORDER_WIDTH . Ef

 - . Bf
 GLUT_WINDOW_BUFFER_SIZE . Ef

 - . Bf
 GLUT_WINDOW_COLORMAP_SIZE . Ef

 - . Bf
 GLUT_WINDOW_CURSOR . Ef

 - . Bf
 GLUT_WINDOW_DEPTH_SIZE . Ef

 - . Bf
 GLUT_WINDOW_DOUBLEBUFFER . Ef

 - . Bf
 GLUT_WINDOW_FORMAT_ID . Ef
System dependant.

 - . Bf
 GLUT_WINDOW_GREEN_SIZE . Ef

 - . Bf
 GLUT_WINDOW_HEADER_HEIGHT . Ef

 - . Bf
 GLUT_WINDOW_HEIGHT . Ef

 - . Bf
 GLUT_WINDOW_NUM_CHILDREN . Ef

 - . Bf
 GLUT_WINDOW_NUM_SAMPLES . Ef

 - . Bf
 GLUT_WINDOW_PARENT . Ef

 - . Bf
 GLUT_WINDOW_RED_SIZE . Ef

 - . Bf
 GLUT_WINDOW_RGBA . Ef

 - . Bf
 GLUT_WINDOW_STENCIL_SIZE . Ef

 - . Bf
 GLUT_WINDOW_STEREO . Ef

 - . Bf
 GLUT_WINDOW_WIDTH . Ef

 - . Bf
 GLUT_WINDOW_X . Ef

 - . Bf
 GLUT_WINDOW_Y . Ef
Most of the above are very obvious, and so full documentation is postponed for now.

TODOGo back and flesh out the above list. This function is a bit messy, especially the WINCE part. Fix. Lots of code uses return to hop out. Since it's such a sprawling function, it's easy to be in the middle and not be 100% sure if there's anything important at the end of the function, or if it is safe to just "drop out" of the current case and head for the bottom. Causes crashes (assertion failure) if you call this before having called glutInit()---other than GLUT_INIT_STATE and GLUT_ELAPSED_TIME. Because various things can cause OpenGLUT to become deinitialized, we should probably either return default values of some kind or do minimal initialization if we are called without proper initialization.

SEE ALSOglutSetOption(3) glutDeviceGet(3) glutGetModifiers(3) glutLayerGet(3) fl.sp 3
0
Johanes Gumabo
Data Size   :   14,410 byte
man-glutGet.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 202,557
Visitor ID   :     :  
Visitor IP   :   18.216.167.229   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|glutGet.3|2|Dt|.Dt GLUTGET 3 LOCAL )         (parse_manual_page_|249|glutGet.3|15|Bf|.Bf Em )         (parse_manual_page_|249|glutGet.3|17|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|25|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|27|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|34|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|36|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|41|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|43|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|48|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|50|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|55|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|57|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|62|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|64|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|69|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|71|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|76|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|78|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|83|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|85|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|90|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|92|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|97|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|99|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|106|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|108|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|113|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|115|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|121|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|123|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|128|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|130|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|136|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|138|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|143|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|145|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|150|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|152|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|157|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|159|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|164|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|166|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|171|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|173|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|178|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|180|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|185|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|187|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|192|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|194|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|199|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|201|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|206|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|208|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|213|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|215|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|220|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|222|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|227|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|229|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|235|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|237|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|242|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|244|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|249|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|251|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|256|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|258|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|263|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|265|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|270|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|272|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|277|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|279|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|284|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|286|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|291|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|293|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|298|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|300|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|305|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|307|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|312|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|314|Ef|.Ef )         (parse_manual_page_|249|glutGet.3|319|Bf|.Bf Sy )         (parse_manual_page_|249|glutGet.3|321|Ef|.Ef )