Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2cca44f12eb8ef579d4d0baff7068f29 > files > 234

ghc-OpenGL-devel-2.2.3.0-7.fc15.i686.rpm

<!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.Rendering.OpenGL.GLU.Errors</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-Rendering-OpenGL-GLU-Errors.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-OpenGL-GLU-Errors.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">OpenGL-2.2.3.0: A binding for the OpenGL graphics system</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>stable</td></tr><tr><th>Maintainer</th><td>sven.panne@aedion.de</td></tr></table><p class="caption">Graphics.Rendering.OpenGL.GLU.Errors</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module corresponds to section 2.5 (GL Errors) of the OpenGL 2.1 specs
 and chapter 8 (Errors) of the GLU specs, offering a generalized view of
 errors in GL and GLU.
</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"><span class="keyword">data</span>  <a href="#t:Error">Error</a>  = <a href="#v:Error">Error</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:ErrorCategory">ErrorCategory</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:ErrorCategory">ErrorCategory</a> <ul class="subs"><li>= <a href="#v:InvalidEnum">InvalidEnum</a>  </li><li>| <a href="#v:InvalidValue">InvalidValue</a>  </li><li>| <a href="#v:InvalidOperation">InvalidOperation</a>  </li><li>| <a href="#v:InvalidFramebufferOperation">InvalidFramebufferOperation</a>  </li><li>| <a href="#v:OutOfMemory">OutOfMemory</a>  </li><li>| <a href="#v:StackOverflow">StackOverflow</a>  </li><li>| <a href="#v:StackUnderflow">StackUnderflow</a>  </li><li>| <a href="#v:TableTooLarge">TableTooLarge</a>  </li><li>| <a href="#v:TesselatorError">TesselatorError</a>  </li><li>| <a href="#v:NURBSError">NURBSError</a>  </li></ul></li><li class="src short"><a href="#v:errors">errors</a> :: <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:Error">Error</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Error" class="def">Error</a>  <a href="src/Graphics-Rendering-OpenGL-GLU-ErrorsInternal.html#Error" class="link">Source</a></p><div class="doc"><p>GL/GLU errors consist of a general error category and a description of
 what went wrong.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Error" class="def">Error</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:ErrorCategory">ErrorCategory</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:Error" class="caption collapser" onclick="toggleSection('i:Error')">Instances</p><div id="section.i:Error" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:Error">Error</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:Error">Error</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:Error">Error</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:ErrorCategory" class="def">ErrorCategory</a>  <a href="src/Graphics-Rendering-OpenGL-GLU-ErrorsInternal.html#ErrorCategory" class="link">Source</a></p><div class="doc"><p>General GL/GLU error categories
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:InvalidEnum" class="def">InvalidEnum</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:InvalidValue" class="def">InvalidValue</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:InvalidOperation" class="def">InvalidOperation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:InvalidFramebufferOperation" class="def">InvalidFramebufferOperation</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:OutOfMemory" class="def">OutOfMemory</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:StackOverflow" class="def">StackOverflow</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:StackUnderflow" class="def">StackUnderflow</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:TableTooLarge" class="def">TableTooLarge</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:TesselatorError" class="def">TesselatorError</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:NURBSError" class="def">NURBSError</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:ErrorCategory" class="caption collapser" onclick="toggleSection('i:ErrorCategory')">Instances</p><div id="section.i:ErrorCategory" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:ErrorCategory">ErrorCategory</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:ErrorCategory">ErrorCategory</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:ErrorCategory">ErrorCategory</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:errors" class="def">errors</a> :: <a href="Graphics-Rendering-OpenGL-GL-StateVar.html#t:GettableStateVar">GettableStateVar</a> [<a href="Graphics-Rendering-OpenGL-GLU-Errors.html#t:Error">Error</a>]<a href="src/Graphics-Rendering-OpenGL-GLU-Errors.html#errors" class="link">Source</a></p><div class="doc"><p>When an error occurs, it is recorded in this state variable and no further
 errors are recorded. Reading <code><a href="Graphics-Rendering-OpenGL-GLU-Errors.html#v:errors">errors</a></code> returns the currently recorded errors
 (there may be more than one due to a possibly distributed implementation) and
 resets the state variable to <code>[]</code>, re-enabling the recording of future
 errors. The value <code>[]</code> means that there has been no detectable error since
 the last time <code><a href="Graphics-Rendering-OpenGL-GLU-Errors.html#v:errors">errors</a></code> was read, or since the GL was initialized.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>