Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee00533ac83fd7ebbf9846dc6d3b77b > files > 252

Io-language-graphics-and-sound-20080330-6.fc15.i686.rpm


<HTML><HEAD><TITLE>Manpage of glutGameModeGet</TITLE>
</HEAD><BODY>
<H1>glutGameModeGet</H1>
Section: GLUT (3GLUT)<BR>Updated: 3.7<BR><A HREF="#index">Index</A>
<A HREF="">Return to Main Contents</A><HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

glutGameModeGet - retrieves GLUT device information represented by integers. 
<A NAME="lbAC">&nbsp;</A>
<H2>SYNTAX</H2>

<PRE>

int glutGameModeGet(GLenum info);
</PRE>

<A NAME="lbAD">&nbsp;</A>
<H2>ARGUMENTS</H2>

<DL COMPACT>
<DT><I>info</I><DD>
Name of game mode information to retrieve.
<DT><B>GLUT_GAME_MODE_ACTIVE </B>

<DD>
Non-zero if GLUT's game mode is active; zero if not active.
Game mode is not active initially.  Game mode becomes active when
glutEnterGameMode is called.  Game mode becomes inactive when
glutLeaveGameMode is called.
<DT><B>GLUT_GAME_MODE_POSSIBLE</B>

<DD>
Non-zero if the game mode string last specified to glutGameModeString is
a possible game mode configuration; zero otherwise.  Being &quot;possible&quot;
does not guarantee that if game mode is entered with glutEnterGameMode
that the display settings will actually changed.  GLUT_GAME_MODE_DISPLAY_CHANGED should be called once game mode is entered to determine if the display mode is actually changed.
<DT><B>GLUT_GAME_MODE_WIDTH</B>

<DD>
Width in pixels of the screen when game mode is activated.
<DT><B>GLUT_GAME_MODE_HEIGHT</B>

<DD>
Height in pixels of the screen when game mode is activated.
<DT><B>GLUT_GAME_MODE_PIXEL_DEPTH </B>

<DD>
Pixel depth of the screen when game mode is activiated.
<DT><B>GLUT_GAME_MODE_REFRESH_RATE </B>

<DD>
Screen refresh rate in cyles per second (hertz) when game mode is activated.
Zero is returned if the refresh rate is unknown or cannot be queried.
<DT><B>GLUT_GAME_MODE_DISPLAY_CHANGED </B>

<DD>
Non-zero if entering game mode actually changed the display settings.
If the game mode string is not possible or the display mode could not be
changed for any other reason, zero is returned.
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>

glutGameModeGet retrieves GLUT game mode information represented by integers. The info
parameter determines what type of game mode information to return. Requesting game mode 
information for an invalid GLUT game mode information name returns negative one.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

glutGet, glutDeviceGet, glutLayerGet, glutGameModeString, glutEnterGameMode, glutLeaveGameMode
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

Mark J. Kilgard (<A HREF="mailto:mjk@nvidia.com">mjk@nvidia.com</A>)
<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNTAX</A><DD>
<DT><A HREF="#lbAD">ARGUMENTS</A><DD>
<DT><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT><A HREF="#lbAF">SEE ALSO</A><DD>
<DT><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="">man2html</A>,
using the manual pages.<BR>
Time: 19:05:09 GMT, September 15, 2003
</BODY>
</HTML>