Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > d5e62c01ae8d1e579463c6a871dd44bf > files > 2311

qtbase5-doc-5.12.6-2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtopengl-examples.qdoc -->
  <title>OpenGL Examples from the Qt OpenGL module | Qt OpenGL</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtopengl-index.html">Qt OpenGL</a></td><td >OpenGL Examples from the Qt OpenGL module</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtopengl-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">OpenGL Examples from the Qt OpenGL module</h1>
<span class="subtitle"></span>
<!-- $$$examples-widgets-opengl-description -->
<div class="descr"> <a name="details"></a>
<p class="centerAlign"><img src="images/opengl-examples.png" alt="" /></p><p>These examples describe how to use the <a href="qtopengl-index.html">Qt OpenGL</a> module. For new code, please use the OpenGL classes in the <a href="../qtgui/qtgui-index.html">Qt GUI</a> module.</p>
<p>Qt provides support for integration with OpenGL implementations on all platforms, giving developers the opportunity to display hardware accelerated 3D graphics alongside a more conventional user interface.</p>
<p>These examples demonstrate the basic techniques used to take advantage of OpenGL in Qt applications.</p>
</div>
<!-- @@@examples-widgets-opengl -->
<div class="table"><table class="annotated">
<tr class="odd topAlign"><td class="tblName"><p><a href="qtopengl-2dpainting-example.html">2D Painting Example</a></p></td><td class="tblDescr"><p>The 2D Painting example shows how QPainter and QGLWidget can be used together to display accelerated 2D graphics on supported hardware.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtopengl-cube-example.html">Cube OpenGL ES 2.0 example</a></p></td><td class="tblDescr"><p>The Cube OpenGL ES 2.0 example shows how to write mouse rotateable textured 3D cube using OpenGL ES 2.0 with Qt. It shows how to handle polygon geometries efficiently and how to write simple vertex and fragment shader for programmable graphics pipeline. In addition it shows how to use quaternions for representing 3D object orientation.</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtopengl-hellogl2-example.html">Hello GL2 Example</a></p></td><td class="tblDescr"><p>The Hello GL2 example demonstrates the basic use of the OpenGL-related classes provided with Qt.</p></td></tr>
<tr class="even topAlign"><td class="tblName"><p><a href="qtopengl-hellogles3-example.html">Hello GLES3 Example</a></p></td><td class="tblDescr"><p>The Hello GLES3 example demonstrates easy, cross-platform usage of OpenGL ES 3.0 functions via QOpenGLExtraFunctions in an application that works identically on desktop platforms with OpenGL 3.3 and mobile/embedded devices with OpenGL ES 3.0&#x2e;</p></td></tr>
<tr class="odd topAlign"><td class="tblName"><p><a href="qtopengl-textures-example.html">Textures Example</a></p></td><td class="tblDescr"><p>The Textures example demonstrates the use of Qt's image classes as textures in applications that use both OpenGL and Qt to display graphics.</p></td></tr>
</table></div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>