This file is indexed.

/usr/share/doc/libghc-glut-doc/html/Graphics-UI-GLUT-State.html is in libghc-glut-doc 2.7.0.10-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.GLUT.State</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-GLUT-State.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-GLUT-State.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">GLUT-2.7.0.10: A binding for the OpenGL Utility Toolkit</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Sven Panne 2002-2013</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Maintainer</th><td>Sven Panne &lt;svenpanne@gmail.com&gt;</td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Portability</th><td>portable</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Graphics.UI.GLUT.State</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">State of all windows</a></li><li><a href="#g:2">State of the <em>current window</em></a><ul><li><a href="#g:3">Framebuffer state</a></li><li><a href="#g:4">Full screen state</a></li><li><a href="#g:5">Object rendering state</a></li><li><a href="#g:6">Vertex attribute state</a></li><li><a href="#g:7">Layer state</a></li></ul></li><li><a href="#g:8">Timing</a></li><li><a href="#g:9">Device information</a></li><li><a href="#g:10">GLUT information</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>GLUT maintains a considerable amount of programmer visible state. Some (but
 not all) of this state may be directly retrieved.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:windowBorderWidth">windowBorderWidth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:windowHeaderHeight">windowHeaderHeight</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:skipStaleMotionEvents">skipStaleMotionEvents</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:rgba">rgba</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:BufferDepth">BufferDepth</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:rgbaBufferDepths">rgbaBufferDepths</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>)</li><li class="src short"><a href="#v:colorBufferDepth">colorBufferDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a></li><li class="src short"><a href="#v:doubleBuffered">doubleBuffered</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:stereo">stereo</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:accumBufferDepths">accumBufferDepths</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>)</li><li class="src short"><a href="#v:depthBufferDepth">depthBufferDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a></li><li class="src short"><a href="#v:stencilBufferDepth">stencilBufferDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:SampleCount">SampleCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:sampleCount">sampleCount</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a></li><li class="src short"><a href="#v:formatID">formatID</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:fullScreenMode">fullScreenMode</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:geometryVisualizeNormals">geometryVisualizeNormals</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:vertexAttribCoord3">vertexAttribCoord3</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t:AttribLocation">AttribLocation</a>)</li><li class="src short"><a href="#v:vertexAttribNormal">vertexAttribNormal</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t:AttribLocation">AttribLocation</a>)</li><li class="src short"><a href="#v:vertexAttribTexCoord2">vertexAttribTexCoord2</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t:AttribLocation">AttribLocation</a>)</li><li class="src short"><a href="#v:damaged">damaged</a> :: <a href="Graphics-UI-GLUT-Overlay.html#t:Layer">Layer</a> -&gt; <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:elapsedTime">elapsedTime</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:screenSize">screenSize</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a></li><li class="src short"><a href="#v:screenSizeMM">screenSizeMM</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a></li><li class="src short"><a href="#v:hasKeyboard">hasKeyboard</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:ButtonCount">ButtonCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:numMouseButtons">numMouseButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)</li><li class="src short"><a href="#v:numSpaceballButtons">numSpaceballButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:DialCount">DialCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:numDialsAndButtons">numDialsAndButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:DialCount">DialCount</a>, <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>))</li><li class="src short"><a href="#v:numTabletButtons">numTabletButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)</li><li class="src short"><span class="keyword">type</span> <a href="#t:AxisCount">AxisCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:PollRate">PollRate</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:joystickInfo">joystickInfo</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>, <a href="Graphics-UI-GLUT-State.html#t:PollRate">PollRate</a>, <a href="Graphics-UI-GLUT-State.html#t:AxisCount">AxisCount</a>))</li><li class="src short"><a href="#v:supportedNumAuxBuffers">supportedNumAuxBuffers</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>]</li><li class="src short"><a href="#v:supportedSamplesPerPixel">supportedSamplesPerPixel</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a>]</li><li class="src short"><a href="#v:glutVersion">glutVersion</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:initState">initState</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1 id="g:1">State of all windows</h1><div class="top"><p class="src"><a id="v:windowBorderWidth" class="def">windowBorderWidth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#windowBorderWidth" class="link">Source</a> <a href="#v:windowBorderWidth" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains the thickness of the sizing border around the
 perimeter of a window that can be resized, in pixels.</p></div></div><div class="top"><p class="src"><a id="v:windowHeaderHeight" class="def">windowHeaderHeight</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#windowHeaderHeight" class="link">Source</a> <a href="#v:windowHeaderHeight" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains the height of the header/caption area of a
 window in pixels.</p></div></div><div class="top"><p class="src"><a id="v:skipStaleMotionEvents" class="def">skipStaleMotionEvents</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#skipStaleMotionEvents" class="link">Source</a> <a href="#v:skipStaleMotionEvents" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut on X11 only</em>) Controls if all but the last motion event should
 be discarded.</p></div></div><h1 id="g:2">State of the <em>current window</em></h1><h2 id="g:3">Framebuffer state</h2><div class="top"><p class="src"><a id="v:rgba" class="def">rgba</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#rgba" class="link">Source</a> <a href="#v:rgba" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> when the current layer of the <em>current window</em> is in RGBA
 mode, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code> means color index mode.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:BufferDepth" class="def">BufferDepth</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#BufferDepth" class="link">Source</a> <a href="#t:BufferDepth" class="selflink">#</a></p><div class="doc"><p>Bit depth of a buffer</p></div></div><div class="top"><p class="src"><a id="v:rgbaBufferDepths" class="def">rgbaBufferDepths</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>) <a href="src/Graphics-UI-GLUT-State.html#rgbaBufferDepths" class="link">Source</a> <a href="#v:rgbaBufferDepths" class="selflink">#</a></p><div class="doc"><p>Contains the number of red, green, blue, and alpha bits in the color buffer
 of the <em>current window's</em> current layer (0 in color index mode).</p></div></div><div class="top"><p class="src"><a id="v:colorBufferDepth" class="def">colorBufferDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a> <a href="src/Graphics-UI-GLUT-State.html#colorBufferDepth" class="link">Source</a> <a href="#v:colorBufferDepth" class="selflink">#</a></p><div class="doc"><p>Contains the total number of bits in the color buffer of the /current
 window's/ current layer. For an RGBA layer, this is the sum of the red,
 green, blue, and alpha bits. For an color index layer, this is the number
 of bits of the color indexes.</p></div></div><div class="top"><p class="src"><a id="v:doubleBuffered" class="def">doubleBuffered</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#doubleBuffered" class="link">Source</a> <a href="#v:doubleBuffered" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> when the current layer of the <em>current window</em> is double
 buffered, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></div></div><div class="top"><p class="src"><a id="v:stereo" class="def">stereo</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#stereo" class="link">Source</a> <a href="#v:stereo" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> when the current layer of the <em>current window</em> is stereo,
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></div></div><div class="top"><p class="src"><a id="v:accumBufferDepths" class="def">accumBufferDepths</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>, <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a>) <a href="src/Graphics-UI-GLUT-State.html#accumBufferDepths" class="link">Source</a> <a href="#v:accumBufferDepths" class="selflink">#</a></p><div class="doc"><p>Contains the number of red, green, blue, and alpha bits in the accumulation
 buffer of the <em>current window's</em> current layer (0 in color index mode).</p></div></div><div class="top"><p class="src"><a id="v:depthBufferDepth" class="def">depthBufferDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a> <a href="src/Graphics-UI-GLUT-State.html#depthBufferDepth" class="link">Source</a> <a href="#v:depthBufferDepth" class="selflink">#</a></p><div class="doc"><p>Contains the number of bits in the depth buffer of the <em>current window's</em>
 current layer.</p></div></div><div class="top"><p class="src"><a id="v:stencilBufferDepth" class="def">stencilBufferDepth</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:BufferDepth">BufferDepth</a> <a href="src/Graphics-UI-GLUT-State.html#stencilBufferDepth" class="link">Source</a> <a href="#v:stencilBufferDepth" class="selflink">#</a></p><div class="doc"><p>Contains the number of bits in the stencil buffer of the /current
 window's/ current layer.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:SampleCount" class="def">SampleCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#SampleCount" class="link">Source</a> <a href="#t:SampleCount" class="selflink">#</a></p><div class="doc"><p>Number of samples for multisampling</p></div></div><div class="top"><p class="src"><a id="v:sampleCount" class="def">sampleCount</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a> <a href="src/Graphics-UI-GLUT-State.html#sampleCount" class="link">Source</a> <a href="#v:sampleCount" class="selflink">#</a></p><div class="doc"><p>Contains the number of samples for multisampling for the <em>current window.</em></p></div></div><div class="top"><p class="src"><a id="v:formatID" class="def">formatID</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#formatID" class="link">Source</a> <a href="#v:formatID" class="selflink">#</a></p><div class="doc"><p>Contains the window system dependent format ID for the current layer of the
 <em>current window</em>. On X11 GLUT implementations, this is the X visual ID. On
 Win32 GLUT implementations, this is the Win32 Pixel Format Descriptor number.
 This value is returned for debugging, benchmarking, and testing ease.</p></div></div><h2 id="g:4">Full screen state</h2><div class="top"><p class="src"><a id="v:fullScreenMode" class="def">fullScreenMode</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#fullScreenMode" class="link">Source</a> <a href="#v:fullScreenMode" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> if the <em>current window</em> is in full screen
 mode, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></div></div><h2 id="g:5">Object rendering state</h2><div class="top"><p class="src"><a id="v:geometryVisualizeNormals" class="def">geometryVisualizeNormals</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:StateVar">StateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#geometryVisualizeNormals" class="link">Source</a> <a href="#v:geometryVisualizeNormals" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) Controls if vectors representing the normals should be
 drawn, too, when objects are drawn.</p></div></div><h2 id="g:6">Vertex attribute state</h2><div class="top"><p class="src"><a id="v:vertexAttribCoord3" class="def">vertexAttribCoord3</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t:AttribLocation">AttribLocation</a>) <a href="src/Graphics-UI-GLUT-State.html#vertexAttribCoord3" class="link">Source</a> <a href="#v:vertexAttribCoord3" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) If <code><a href="Graphics-UI-GLUT-State.html#v:vertexAttribCoord3">vertexAttribCoord3</a></code> and <code><a href="Graphics-UI-GLUT-State.html#v:vertexAttribNormal">vertexAttribNormal</a></code> both
 contain <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, the fixed function pipeline is used to draw
 objects. Otherwise VBOs are used and the coordinates are passed via <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code>
 this attribute location (for a vec3).</p></div></div><div class="top"><p class="src"><a id="v:vertexAttribNormal" class="def">vertexAttribNormal</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t:AttribLocation">AttribLocation</a>) <a href="src/Graphics-UI-GLUT-State.html#vertexAttribNormal" class="link">Source</a> <a href="#v:vertexAttribNormal" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) If <code><a href="Graphics-UI-GLUT-State.html#v:vertexAttribCoord3">vertexAttribCoord3</a></code> and <code><a href="Graphics-UI-GLUT-State.html#v:vertexAttribNormal">vertexAttribNormal</a></code> both
 contain <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, the fixed function pipeline is used to draw
 objects. Otherwise VBOs are used and the normals are passed via <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> this
 attribute location (for a vec3).</p></div></div><div class="top"><p class="src"><a id="v:vertexAttribTexCoord2" class="def">vertexAttribTexCoord2</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:SettableStateVar">SettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-VertexSpec.html#t:AttribLocation">AttribLocation</a>) <a href="src/Graphics-UI-GLUT-State.html#vertexAttribTexCoord2" class="link">Source</a> <a href="#v:vertexAttribTexCoord2" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) If VBOs are used to draw objects (controlled via
 <code><a href="Graphics-UI-GLUT-State.html#v:vertexAttribCoord3">vertexAttribCoord3</a></code> and <code><a href="Graphics-UI-GLUT-State.html#v:vertexAttribNormal">vertexAttribNormal</a></code>), the texture coordinates are
 passed via <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> this attribute location (for a vec2).</p></div></div><h2 id="g:7">Layer state</h2><div class="top"><p class="src"><a id="v:damaged" class="def">damaged</a> :: <a href="Graphics-UI-GLUT-Overlay.html#t:Layer">Layer</a> -&gt; <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#damaged" class="link">Source</a> <a href="#v:damaged" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> if the given plane of the <em>current window</em> has been
 damaged (by window system activity) since the last display callback was
 triggered. Calling <code><a href="Graphics-UI-GLUT-Window.html#v:postRedisplay">postRedisplay</a></code> or
 <code><a href="Graphics-UI-GLUT-Overlay.html#v:postOverlayRedisplay">postOverlayRedisplay</a></code> will not set this <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code>.</p></div></div><h1 id="g:8">Timing</h1><div class="top"><p class="src"><a id="v:elapsedTime" class="def">elapsedTime</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#elapsedTime" class="link">Source</a> <a href="#v:elapsedTime" class="selflink">#</a></p><div class="doc"><p>Contains the number of milliseconds since
 <code><a href="Graphics-UI-GLUT-Initialization.html#v:initialize">initialize</a></code> was called.</p></div></div><h1 id="g:9">Device information</h1><div class="doc"><p>If a device is not available, the following state variables contain
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>, otherwise they return <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the specific device information.
 Only a screen is always assumed.</p></div><div class="top"><p class="src"><a id="v:screenSize" class="def">screenSize</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a> <a href="src/Graphics-UI-GLUT-State.html#screenSize" class="link">Source</a> <a href="#v:screenSize" class="selflink">#</a></p><div class="doc"><p>The size of the screen in pixels.</p></div></div><div class="top"><p class="src"><a id="v:screenSizeMM" class="def">screenSizeMM</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/libghc-opengl-doc/html/Graphics-Rendering-OpenGL-GL-CoordTrans.html#t:Size">Size</a> <a href="src/Graphics-UI-GLUT-State.html#screenSizeMM" class="link">Source</a> <a href="#v:screenSizeMM" class="selflink">#</a></p><div class="doc"><p>The size of the screen in millimeters.</p></div></div><div class="top"><p class="src"><a id="v:hasKeyboard" class="def">hasKeyboard</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#hasKeyboard" class="link">Source</a> <a href="#v:hasKeyboard" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> if a keyboard is present, <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:ButtonCount" class="def">ButtonCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#ButtonCount" class="link">Source</a> <a href="#t:ButtonCount" class="selflink">#</a></p><div class="doc"><p>Number of buttons of an input device</p></div></div><div class="top"><p class="src"><a id="v:numMouseButtons" class="def">numMouseButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>) <a href="src/Graphics-UI-GLUT-State.html#numMouseButtons" class="link">Source</a> <a href="#v:numMouseButtons" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of an attached mouse or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if
 there is none.</p></div></div><div class="top"><p class="src"><a id="v:numSpaceballButtons" class="def">numSpaceballButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>) <a href="src/Graphics-UI-GLUT-State.html#numSpaceballButtons" class="link">Source</a> <a href="#v:numSpaceballButtons" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of the attached Spaceball or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code>
 if there is none.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:DialCount" class="def">DialCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#DialCount" class="link">Source</a> <a href="#t:DialCount" class="selflink">#</a></p><div class="doc"><p>Number of dials of a dial and button box</p></div></div><div class="top"><p class="src"><a id="v:numDialsAndButtons" class="def">numDialsAndButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:DialCount">DialCount</a>, <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>)) <a href="src/Graphics-UI-GLUT-State.html#numDialsAndButtons" class="link">Source</a> <a href="#v:numDialsAndButtons" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the number of dials and buttons of an attached dial &amp;
 button box or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if there is none.</p></div></div><div class="top"><p class="src"><a id="v:numTabletButtons" class="def">numTabletButtons</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>) <a href="src/Graphics-UI-GLUT-State.html#numTabletButtons" class="link">Source</a> <a href="#v:numTabletButtons" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of an attached tablet or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if
 there is none.</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:AxisCount" class="def">AxisCount</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#AxisCount" class="link">Source</a> <a href="#t:AxisCount" class="selflink">#</a></p><div class="doc"><p>Number of axes of a joystick</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:PollRate" class="def">PollRate</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-GLUT-State.html#PollRate" class="link">Source</a> <a href="#t:PollRate" class="selflink">#</a></p><div class="doc"><p>The a rate at which a joystick is polled (in milliseconds)</p></div></div><div class="top"><p class="src"><a id="v:joystickInfo" class="def">joystickInfo</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-UI-GLUT-State.html#t:ButtonCount">ButtonCount</a>, <a href="Graphics-UI-GLUT-State.html#t:PollRate">PollRate</a>, <a href="Graphics-UI-GLUT-State.html#t:AxisCount">AxisCount</a>)) <a href="src/Graphics-UI-GLUT-State.html#joystickInfo" class="link">Source</a> <a href="#v:joystickInfo" class="selflink">#</a></p><div class="doc"><p>Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Just">Just</a></code> the number of buttons of an attached joystick, the number
 of joystick axes, and the rate at which the joystick is polled. Contains
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#v:Nothing">Nothing</a></code> if there is no joystick attached.</p></div></div><div class="top"><p class="src"><a id="v:supportedNumAuxBuffers" class="def">supportedNumAuxBuffers</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a>] <a href="src/Graphics-UI-GLUT-State.html#supportedNumAuxBuffers" class="link">Source</a> <a href="#v:supportedNumAuxBuffers" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains a list of the number of auxiliary buffers
 supported, in increasing order.</p></div></div><div class="top"><p class="src"><a id="v:supportedSamplesPerPixel" class="def">supportedSamplesPerPixel</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-UI-GLUT-State.html#t:SampleCount">SampleCount</a>] <a href="src/Graphics-UI-GLUT-State.html#supportedSamplesPerPixel" class="link">Source</a> <a href="#v:supportedSamplesPerPixel" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains a list of the number of samples per pixel
 supported for multisampling, in increasing order.</p></div></div><h1 id="g:10">GLUT information</h1><div class="top"><p class="src"><a id="v:glutVersion" class="def">glutVersion</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-UI-GLUT-State.html#glutVersion" class="link">Source</a> <a href="#v:glutVersion" class="selflink">#</a></p><div class="doc"><p>Contains version of GLUT in the form of
 <code><em>flavour</em> <em>major</em>.<em>minor</em>.<em>patchlevel</em></code>, where <code><em>flavour</em></code> is one of
 <code>GLUT</code>, <code>freeglut</code> or <code>OpenGLUT</code>.</p></div></div><div class="top"><p class="src"><a id="v:initState" class="def">initState</a> :: <a href="file:///usr/share/doc/libghc-statevar-doc/html/Data-StateVar.html#t:GettableStateVar">GettableStateVar</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-UI-GLUT-State.html#initState" class="link">Source</a> <a href="#v:initState" class="selflink">#</a></p><div class="doc"><p>(<em>freeglut only</em>) Contains <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:True">True</a></code> if GLUT has been initialized 
 with <code><a href="Graphics-UI-GLUT-Initialization.html#v:initialize">initialize</a></code> or
 <code><a href="Graphics-UI-GLUT-Initialization.html#v:getArgsAndInitialize">getArgsAndInitialize</a></code> has and not yet
 been de-initialized with <code><a href="Graphics-UI-GLUT-Initialization.html#v:exit">exit</a></code>. Contains
 <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#v:False">False</a></code> otherwise.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>