source: trunk/doc/html/qgl.html@ 203

Last change on this file since 203 was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 4.5 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/opengl/qgl.cpp:61 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>QGL Class</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QGL Class Reference<br><small>[<a href="opengl.html">OpenGL module</a>]</small></h1>
33
34<p>The QGL class is a namespace for miscellaneous identifiers
35in the Qt OpenGL module.
36<a href="#details">More...</a>
37<p><tt>#include &lt;<a href="qgl-h.html">qgl.h</a>&gt;</tt>
38<p>Inherited by <a href="qglformat.html">QGLFormat</a>, <a href="qglcontext.html">QGLContext</a>, and <a href="qglwidget.html">QGLWidget</a>.
39<p><a href="qgl-members.html">List of all member functions.</a>
40<h2>Public Members</h2>
41<ul>
42<li class=fn>enum <a href="#FormatOption-enum"><b>FormatOption</b></a> { DoubleBuffer = 0x0001, DepthBuffer = 0x0002, Rgba = 0x0004, AlphaChannel = 0x0008, AccumBuffer = 0x0010, StencilBuffer = 0x0020, StereoBuffers = 0x0040, DirectRendering = 0x0080, HasOverlay = 0x0100, SingleBuffer = DoubleBuffer&lt;&lt;16, NoDepthBuffer = DepthBuffer&lt;&lt;16, ColorIndex = Rgba&lt;&lt;16, NoAlphaChannel = AlphaChannel&lt;&lt;16, NoAccumBuffer = AccumBuffer&lt;&lt;16, NoStencilBuffer = StencilBuffer&lt;&lt;16, NoStereoBuffers = StereoBuffers&lt;&lt;16, IndirectRendering = DirectRendering&lt;&lt;16, NoOverlay = HasOverlay&lt;&lt;16 }</li>
43</ul>
44<hr><a name="details"></a><h2>Detailed Description</h2>
45
46
47The QGL class is a namespace for miscellaneous identifiers
48in the Qt OpenGL module.
49
50<p>
51
52
53<p> Normally you can ignore this class. <a href="qglwidget.html">QGLWidget</a> and the other
54OpenGL<sup>*</sup> module classes inherit it, so when you make your
55own QGLWidget subclass you can use the identifiers in the QGL
56namespace without qualification.
57<p> However, you may occasionally find yourself in situations where you
58need to refer to these identifiers from outside the QGL namespace's
59scope, e.g. in static functions. In such cases, simply write e.g. <a href="#FormatOption-enum">QGL::DoubleBuffer</a> instead of just <a href="#FormatOption-enum">DoubleBuffer</a>.
60<p> <sup>*</sup> OpenGL is a trademark of Silicon Graphics, Inc. in the
61United States and other countries.
62<p> <p>See also <a href="graphics.html">Graphics Classes</a> and <a href="images.html">Image Processing Classes</a>.
63
64<hr><h2>Member Type Documentation</h2>
65<h3 class=fn><a name="FormatOption-enum"></a>QGL::FormatOption</h3>
66
67<p> This enum specifies the format options.
68<ul>
69<li><tt>QGL::DoubleBuffer</tt>
70<li><tt>QGL::DepthBuffer</tt>
71<li><tt>QGL::Rgba</tt>
72<li><tt>QGL::AlphaChannel</tt>
73<li><tt>QGL::AccumBuffer</tt>
74<li><tt>QGL::StencilBuffer</tt>
75<li><tt>QGL::StereoBuffers</tt>
76<li><tt>QGL::DirectRendering</tt>
77<li><tt>QGL::HasOverlay</tt>
78<li><tt>QGL::SingleBuffer</tt>
79<li><tt>QGL::NoDepthBuffer</tt>
80<li><tt>QGL::ColorIndex</tt>
81<li><tt>QGL::NoAlphaChannel</tt>
82<li><tt>QGL::NoAccumBuffer</tt>
83<li><tt>QGL::NoStencilBuffer</tt>
84<li><tt>QGL::NoStereoBuffers</tt>
85<li><tt>QGL::IndirectRendering</tt>
86<li><tt>QGL::NoOverlay</tt>
87</ul>
88<!-- eof -->
89<hr><p>
90This file is part of the <a href="index.html">Qt toolkit</a>.
91Copyright &copy; 1995-2007
92<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
93<table width=100% cellspacing=0 border=0><tr>
94<td>Copyright &copy; 2007
95<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
96<td align=right><div align=right>Qt 3.3.8</div>
97</table></div></address></body>
98</html>
Note: See TracBrowser for help on using the repository browser.