Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 1860

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 17:07:18 CEST 2007 -->
<TITLE>
QGLFramebufferObject
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.opengl.QGLFramebufferObject class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QGLFramebufferObject";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/opengl/QGLFormat.OpenGLVersionFlags.html" title="class in com.trolltech.qt.opengl"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/opengl/QGLFramebufferObject.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QGLFramebufferObject.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.opengl</FONT>
<BR>
Class QGLFramebufferObject</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.opengl.QGLFramebufferObject</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QGLFramebufferObject</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A><DT>implements <A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></DL>
</PRE>

<P>
<p>The <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a> class encapsulates an OpenGL framebuffer object.</p>
<p>The <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a> class encapsulates an OpenGL framebuffer object, defined by the <tt>GL_EXT_framebuffer_object</tt> extension. In addition it provides a rendering surface that can be painted on with a <a href="%2E%2E/gui/QPainter.html"><tt>QPainter</tt></a>, rendered to using native GL calls, or both. This surface can be bound and used as a regular texture in your own GL drawing code. By default, the <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a> class generates a 2D GL texture (using the <tt>GL_TEXTURE_2D</tt> target), which is used as the internal rendering target.</p>
<p><b>It is important to have a current GL context when creating a <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>, otherwise initialization will fail.</b></p>
<p>OpenGL framebuffer objects and pbuffers (see <a href="QGLPixelBuffer.html">QGLPixelBuffer</a>) can both be used to render to offscreen surfaces, but there are a number of advantages with using framebuffer objects instead of pbuffers:</p>
<ol type="1">
<li>A framebuffer object does not require a separate rendering context, so no context switching will occur when switching rendering targets. There is an overhead involved in switching targets, but in general it is cheaper than a context switch to a pbuffer.</li>
<li>Rendering to dynamic textures (i.e&#x2e; render-to-texture functionality) works on all platforms. No need to do explicit copy calls from a render buffer into a texture, as was necessary on systems that did not support the <tt>render_texture</tt> extension.</li>
<li>It is possible to attach several rendering buffers (or texture objects) to the same framebuffer object, and render to all of them without doing a context switch.</li>
<li>The OpenGL framebuffer extension is a pure GL extension with no system dependant WGL, AGL or GLX parts. This makes using framebuffer objects more portable.</li>
</ol>
<p>Note that <a href="%2E%2E/gui/QPainter.html"><tt>QPainter</tt></a> antialiasing of drawing primitives will not work when using a <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a> as a paintdevice. This is because sample buffers, which are needed for antialiasing, are not yet supported in application-defined framebuffer objects. However, an extension to solve this has already been approved by the OpenGL ARB (<tt>GL_EXT_framebuffer_multisample</tt>), and will most likely be available in the near future.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><CODE>Object Example</tt></CODE></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This enum type is used to configure the depth and stencil buffers attached to the framebuffer object when it is created.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(int, int)">QGLFramebufferObject</A></B>(int&nbsp;width,
                     int&nbsp;height)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>width</tt>, <tt>height</tt>, GL_TEXTURE_2D).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)">QGLFramebufferObject</A></B>(int&nbsp;width,
                     int&nbsp;height,
                     int&nbsp;target)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an OpenGL framebuffer object and binds a 2D GL texture to the buffer of the given <tt>width</tt> and <tt>height</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(int, int, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment)">QGLFramebufferObject</A></B>(int&nbsp;width,
                     int&nbsp;height,
                     <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>width</tt>, <tt>height</tt>, <tt>attachment</tt>, GL_TEXTURE_2D, GL_RGBA8).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(int, int, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int)">QGLFramebufferObject</A></B>(int&nbsp;width,
                     int&nbsp;height,
                     <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                     int&nbsp;target)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>width</tt>, <tt>height</tt>, <tt>attachment</tt>, <tt>target</tt>, GL_RGBA8).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(int, int, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int, int)">QGLFramebufferObject</A></B>(int&nbsp;width,
                     int&nbsp;height,
                     <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                     int&nbsp;target,
                     int&nbsp;internal_format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an OpenGL framebuffer object and binds a texture to the buffer of the given <tt>width</tt> and <tt>height</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(com.trolltech.qt.core.QSize)">QGLFramebufferObject</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>size</tt>, GL_TEXTURE_2D).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(com.trolltech.qt.core.QSize, int)">QGLFramebufferObject</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                     int&nbsp;target)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an OpenGL framebuffer object and binds a 2D GL texture to the buffer of the size <tt>size</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(com.trolltech.qt.core.QSize, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment)">QGLFramebufferObject</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                     <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>size</tt>, <tt>attachment</tt>, GL_TEXTURE_2D, GL_RGBA8).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(com.trolltech.qt.core.QSize, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int)">QGLFramebufferObject</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                     <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                     int&nbsp;target)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>size</tt>, <tt>attachment</tt>, <tt>target</tt>, GL_RGBA8).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#QGLFramebufferObject(com.trolltech.qt.core.QSize, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int, int)">QGLFramebufferObject</A></B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                     <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                     int&nbsp;target,
                     int&nbsp;internal_format)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an OpenGL framebuffer object and binds a texture to the buffer of the given <tt>size</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#attachment()">attachment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the status of the depth and stencil buffers attached to this framebuffer object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#bind()">bind</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switches rendering from the default, windowing system provided framebuffer to this framebuffer object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#depth()">depth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bit depth (number of bit planes) of the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#devType()">devType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html" title="class in com.trolltech.qt.opengl">QGLFramebufferObject</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QGLFramebufferObject instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#handle()">handle</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the GL framebuffer object handle for this framebuffer object (returned by the <tt>glGenFrameBuffersEXT()</tt> function).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#hasOpenGLFramebufferObjects()">hasOpenGLFramebufferObjects</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the OpenGL <tt>GL_EXT_framebuffer_object</tt> extension is present on this system; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#height()">height</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="%2E%2E/gui/QPixmap.html"><tt>QPixmap</tt></a> and <a href="%2E%2E/gui/QWidget.html"><tt>QWidget</tt></a>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#heightMM()">heightMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the height of the paint device in millimeters.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#isValid()">isValid</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the framebuffer object is valid.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#logicalDpiX()">logicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#logicalDpiY()">logicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;metric)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the metric information for the given paint device <tt>metric</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#numColors()">numColors</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of different colors available for the paint device.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#paintEngine()">paintEngine</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function is reimplemented for internal reasons.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#paintingActive()">paintingActive</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#physicalDpiX()">physicalDpiX</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#physicalDpiY()">physicalDpiY</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal resolution of the device in dots per inch.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#release()">release</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switches rendering back to the default, windowing system provided framebuffer.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#size()">size</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the size of the texture attached to this framebuffer object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#texture()">texture</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the texture id for the texture attached as the default rendering target in this framebuffer object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#toImage()">toImage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the contents of this framebuffer object as a <a href="%2E%2E/gui/QImage.html"><tt>QImage</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#width()">width</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="%2E%2E/gui/QPixmap.html"><tt>QPixmap</tt></a> and <a href="%2E%2E/gui/QWidget.html"><tt>QWidget</tt></a>).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html#widthMM()">widthMM</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the width of the paint device in millimeters.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QGLFramebufferObject(com.trolltech.qt.core.QSize)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>size</tt>, GL_TEXTURE_2D).
<P>
</DL>
<HR>

<A NAME="QGLFramebufferObject(com.trolltech.qt.core.QSize, int)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                            int&nbsp;target)</PRE>
<DL>
<DD><p>Constructs an OpenGL framebuffer object and binds a 2D GL texture to the buffer of the size <tt>size</tt>. The texture is bound to the <tt>GL_COLOR_ATTACHMENT0</tt> target in the framebuffer object.</p>
<p>The <tt>target</tt> parameter is used to specify the GL texture target. The default target is <tt>GL_TEXTURE_2D</tt>. Keep in mind that <tt>GL_TEXTURE_2D</tt> textures must have a power of 2 width and height (e.g&#x2e; 256x512), unless you are using OpenGL 2.0 or higher.</p>
<p>By default, no depth and stencil buffers are attached. This behavior can be toggled using one of the overloaded constructors.</p>
<p>The default internal texture format is <tt>GL_RGBA8</tt>.</p>
<p>It is important that you have a current GL context set when creating the <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>, otherwise the initialization will fail.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#size()"><tt>size</tt></a>, 
<a href="QGLFramebufferObject.html#texture()"><tt>texture</tt></a>, 
<a href="QGLFramebufferObject.html#attachment()"><tt>attachment</tt></a></DL>
</DL>
<HR>

<A NAME="QGLFramebufferObject(com.trolltech.qt.core.QSize, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                            <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                            int&nbsp;target)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>size</tt>, <tt>attachment</tt>, <tt>target</tt>, GL_RGBA8).
<P>
</DL>
<HR>

<A NAME="QGLFramebufferObject(com.trolltech.qt.core.QSize, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                            <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>size</tt>, <tt>attachment</tt>, GL_TEXTURE_2D, GL_RGBA8).
<P>
</DL>
<HR>

<A NAME="QGLFramebufferObject(com.trolltech.qt.core.QSize, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int, int)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(<A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A>&nbsp;size,
                            <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                            int&nbsp;target,
                            int&nbsp;internal_format)</PRE>
<DL>
<DD><p>Constructs an OpenGL framebuffer object and binds a texture to the buffer of the given <tt>size</tt>.</p>
<p>The <tt>attachment</tt> parameter describes the depth/stencil buffer configuration, <tt>target</tt> the texture target and <tt>internal_format</tt> the internal texture format. The default texture target is <tt>GL_TEXTURE_2D</tt>, while the default internal format is <tt>GL_RGBA8</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#size()"><tt>size</tt></a>, 
<a href="QGLFramebufferObject.html#texture()"><tt>texture</tt></a>, 
<a href="QGLFramebufferObject.html#attachment()"><tt>attachment</tt></a></DL>
</DL>
<HR>

<A NAME="QGLFramebufferObject(int, int, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(int&nbsp;width,
                            int&nbsp;height,
                            <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                            int&nbsp;target)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>width</tt>, <tt>height</tt>, <tt>attachment</tt>, <tt>target</tt>, GL_RGBA8).
<P>
</DL>
<HR>

<A NAME="QGLFramebufferObject(int, int, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(int&nbsp;width,
                            int&nbsp;height,
                            <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>width</tt>, <tt>height</tt>, <tt>attachment</tt>, GL_TEXTURE_2D, GL_RGBA8).
<P>
</DL>
<HR>

<A NAME="QGLFramebufferObject(int, int, com.trolltech.qt.opengl.QGLFramebufferObject.Attachment, int, int)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(int&nbsp;width,
                            int&nbsp;height,
                            <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A>&nbsp;attachment,
                            int&nbsp;target,
                            int&nbsp;internal_format)</PRE>
<DL>
<DD><p>Constructs an OpenGL framebuffer object and binds a texture to the buffer of the given <tt>width</tt> and <tt>height</tt>.</p>
<p>The <tt>attachment</tt> parameter describes the depth/stencil buffer configuration, <tt>target</tt> the texture target and <tt>internal_format</tt> the internal texture format. The default texture target is <tt>GL_TEXTURE_2D</tt>, while the default internal format is <tt>GL_RGBA8</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#size()"><tt>size</tt></a>, 
<a href="QGLFramebufferObject.html#texture()"><tt>texture</tt></a>, 
<a href="QGLFramebufferObject.html#attachment()"><tt>attachment</tt></a></DL>
</DL>
<HR>

<A NAME="QGLFramebufferObject(int, int)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(int&nbsp;width,
                            int&nbsp;height)</PRE>
<DL>
<DD><p>Equivalent to <a href="QGLFramebufferObject.html#QGLFramebufferObject(int, int, int)"><tt>QGLFramebufferObject</tt></a>(<tt>width</tt>, <tt>height</tt>, GL_TEXTURE_2D).
<P>
</DL>
<HR>

<A NAME="QGLFramebufferObject(int, int, int)"><!-- --></A><H3>
QGLFramebufferObject</H3>
<PRE>
public <B>QGLFramebufferObject</B>(int&nbsp;width,
                            int&nbsp;height,
                            int&nbsp;target)</PRE>
<DL>
<DD><p>Constructs an OpenGL framebuffer object and binds a 2D GL texture to the buffer of the given <tt>width</tt> and <tt>height</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#size()"><tt>size</tt></a>, 
<a href="QGLFramebufferObject.html#texture()"><tt>texture</tt></a></DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="attachment()"><!-- --></A><H3>
attachment</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl">QGLFramebufferObject.Attachment</A> <B>attachment</B>()</PRE>
<DL>
<DD><p>Returns the status of the depth and stencil buffers attached to this framebuffer object.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="bind()"><!-- --></A><H3>
bind</H3>
<PRE>
public final boolean <B>bind</B>()</PRE>
<DL>
<DD><p>Switches rendering from the default, windowing system provided framebuffer to this framebuffer object. Returns true upon success, false otherwise.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="depth()"><!-- --></A><H3>
depth</H3>
<PRE>
public final int <B>depth</B>()</PRE>
<DL>
<DD><p>Returns the bit depth (number of bit planes) of the paint device.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#depth()">depth</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="handle()"><!-- --></A><H3>
handle</H3>
<PRE>
public final int <B>handle</B>()</PRE>
<DL>
<DD><p>Returns the GL framebuffer object handle for this framebuffer object (returned by the <tt>glGenFrameBuffersEXT()</tt> function). This handle can be used to attach new images or buffers to the framebuffer. The user is responsible for cleaning up and destroying these objects.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="height()"><!-- --></A><H3>
height</H3>
<PRE>
public final int <B>height</B>()</PRE>
<DL>
<DD><p>Returns the height of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="%2E%2E/gui/QPixmap.html"><tt>QPixmap</tt></a> and <a href="%2E%2E/gui/QWidget.html"><tt>QWidget</tt></a>).</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#height()">height</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#heightMM()"><tt>heightMM</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="heightMM()"><!-- --></A><H3>
heightMM</H3>
<PRE>
public final int <B>heightMM</B>()</PRE>
<DL>
<DD><p>Returns the height of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#heightMM()">heightMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#height()"><tt>height</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isValid()"><!-- --></A><H3>
isValid</H3>
<PRE>
public final boolean <B>isValid</B>()</PRE>
<DL>
<DD><p>Returns true if the framebuffer object is valid.</p>
<p>The framebuffer can become invalid if the initialization process fails, the user attaches an invalid buffer to the framebuffer object, or a non-power of 2 width/height is specified as the texture size if the texture target is <tt>GL_TEXTURE_2D</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiX()"><!-- --></A><H3>
logicalDpiX</H3>
<PRE>
public final int <B>logicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QGLFramebufferObject.html#widthMM()"><tt>widthMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QGLFramebufferObject.html#logicalDpiX()"><tt>logicalDpiX</tt></a> doesn't equal the <a href="QGLFramebufferObject.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, the corresponding <a href="%2E%2E/gui/QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiX()">logicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, 
<a href="QGLFramebufferObject.html#physicalDpiX()"><tt>physicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="logicalDpiY()"><!-- --></A><H3>
logicalDpiY</H3>
<PRE>
public final int <B>logicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the vertical resolution of the device in dots per inch, which is used when computing font sizes. For X11, this is usually the same as could be computed from <a href="QGLFramebufferObject.html#heightMM()"><tt>heightMM</tt></a>, but it varies on Windows.</p>
<p>Note that if the <a href="QGLFramebufferObject.html#logicalDpiY()"><tt>logicalDpiY</tt></a> doesn't equal the <a href="QGLFramebufferObject.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, the corresponding <a href="%2E%2E/gui/QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#logicalDpiY()">logicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, 
<a href="QGLFramebufferObject.html#physicalDpiY()"><tt>physicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="numColors()"><!-- --></A><H3>
numColors</H3>
<PRE>
public final int <B>numColors</B>()</PRE>
<DL>
<DD><p>Returns the number of different colors available for the paint device. Since this value is an int, it will not be sufficient to represent the number of colors on 32 bit displays, in this case INT_MAX is returned instead.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#numColors()">numColors</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="paintingActive()"><!-- --></A><H3>
paintingActive</H3>
<PRE>
public final boolean <B>paintingActive</B>()</PRE>
<DL>
<DD><p>Returns true if the device is currently being painted on, i.e&#x2e; someone has called QPainter::begin() but not yet called QPainter::end() for this device; otherwise returns false.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintingActive()">paintingActive</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>QPainter::isActive</tt></DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiX()"><!-- --></A><H3>
physicalDpiX</H3>
<PRE>
public final int <B>physicalDpiX</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QGLFramebufferObject.html#physicalDpiX()"><tt>physicalDpiX</tt></a> doesn't equal the <a href="QGLFramebufferObject.html#logicalDpiX()"><tt>logicalDpiX</tt></a>, the corresponding <a href="%2E%2E/gui/QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiX()">physicalDpiX</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#physicalDpiY()"><tt>physicalDpiY</tt></a>, 
<a href="QGLFramebufferObject.html#logicalDpiX()"><tt>logicalDpiX</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="physicalDpiY()"><!-- --></A><H3>
physicalDpiY</H3>
<PRE>
public final int <B>physicalDpiY</B>()</PRE>
<DL>
<DD><p>Returns the horizontal resolution of the device in dots per inch.</p>
<p>Note that if the <a href="QGLFramebufferObject.html#physicalDpiY()"><tt>physicalDpiY</tt></a> doesn't equal the <a href="QGLFramebufferObject.html#logicalDpiY()"><tt>logicalDpiY</tt></a>, the corresponding <a href="%2E%2E/gui/QPaintEngine.html"><tt>QPaintEngine</tt></a> must handle the resolution mapping.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#physicalDpiY()">physicalDpiY</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#physicalDpiX()"><tt>physicalDpiX</tt></a>, 
<a href="QGLFramebufferObject.html#logicalDpiY()"><tt>logicalDpiY</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="release()"><!-- --></A><H3>
release</H3>
<PRE>
public final boolean <B>release</B>()</PRE>
<DL>
<DD><p>Switches rendering back to the default, windowing system provided framebuffer. Returns true upon success, false otherwise.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="size()"><!-- --></A><H3>
size</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QSize.html" title="class in com.trolltech.qt.core">QSize</A> <B>size</B>()</PRE>
<DL>
<DD><p>Returns the size of the texture attached to this framebuffer object.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="texture()"><!-- --></A><H3>
texture</H3>
<PRE>
public final int <B>texture</B>()</PRE>
<DL>
<DD><p>Returns the texture id for the texture attached as the default rendering target in this framebuffer object. This texture id can be bound as a normal texture in your own GL code.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toImage()"><!-- --></A><H3>
toImage</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/gui/QImage.html" title="class in com.trolltech.qt.gui">QImage</A> <B>toImage</B>()</PRE>
<DL>
<DD><p>Returns the contents of this framebuffer object as a <a href="%2E%2E/gui/QImage.html"><tt>QImage</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="width()"><!-- --></A><H3>
width</H3>
<PRE>
public final int <B>width</B>()</PRE>
<DL>
<DD><p>Returns the width of the paint device in default coordinate system units (e.g&#x2e; pixels for <a href="%2E%2E/gui/QPixmap.html"><tt>QPixmap</tt></a> and <a href="%2E%2E/gui/QWidget.html"><tt>QWidget</tt></a>).</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#width()">width</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#widthMM()"><tt>widthMM</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="widthMM()"><!-- --></A><H3>
widthMM</H3>
<PRE>
public final int <B>widthMM</B>()</PRE>
<DL>
<DD><p>Returns the width of the paint device in millimeters.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#widthMM()">widthMM</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QGLFramebufferObject.html#width()"><tt>width</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="devType()"><!-- --></A><H3>
devType</H3>
<PRE>
public int <B>devType</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#devType()">devType</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)"><!-- --></A><H3>
metric</H3>
<PRE>
public int <B>metric</B>(<A HREF="../../../../com/trolltech/qt/gui/QPaintDevice.PaintDeviceMetric.html" title="enum in com.trolltech.qt.gui">QPaintDevice.PaintDeviceMetric</A>&nbsp;metric)</PRE>
<DL>
<DD><p>Returns the metric information for the given paint device <tt>metric</tt>.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#metric(com.trolltech.qt.gui.QPaintDevice.PaintDeviceMetric)">metric</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>PaintDeviceMetric</tt></DL>
</DD>
</DL>
<HR>

<A NAME="paintEngine()"><!-- --></A><H3>
paintEngine</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/gui/QPaintEngine.html" title="class in com.trolltech.qt.gui">QPaintEngine</A> <B>paintEngine</B>()</PRE>
<DL>
<DD><p>This function is reimplemented for internal reasons.</p>
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html#paintEngine()">paintEngine</A></CODE> in interface <CODE><A HREF="../../../../com/trolltech/qt/gui/QPaintDeviceInterface.html" title="interface in com.trolltech.qt.gui">QPaintDeviceInterface</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hasOpenGLFramebufferObjects()"><!-- --></A><H3>
hasOpenGLFramebufferObjects</H3>
<PRE>
public static boolean <B>hasOpenGLFramebufferObjects</B>()</PRE>
<DL>
<DD><p>Returns true if the OpenGL <tt>GL_EXT_framebuffer_object</tt> extension is present on this system; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.html" title="class in com.trolltech.qt.opengl">QGLFramebufferObject</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QGLFramebufferObject instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/opengl/QGLFormat.OpenGLVersionFlags.html" title="class in com.trolltech.qt.opengl"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/opengl/QGLFramebufferObject.Attachment.html" title="enum in com.trolltech.qt.opengl"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/opengl/QGLFramebufferObject.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QGLFramebufferObject.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>