<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qgeometryrenderer.cpp --> <title>QGeometryRenderer Class | Qt 3D 5.11</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 ><a href="../qtdoc/index.html">Qt 5.11</a></td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-cpp.html">C++ Classes</a></td><td >QGeometryRenderer</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.11.2 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#public-types">Public Types</a></li> <li class="level1"><a href="#properties">Properties</a></li> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#public-slots">Public Slots</a></li> <li class="level1"><a href="#signals">Signals</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QGeometryRenderer Class</h1> <span class="small-subtitle">(<a href="qt3drender-qgeometryrenderer.html">Qt3DRender::QGeometryRenderer</a>)<br/></span> <!-- $$$QGeometryRenderer-brief --> <p>Encapsulates geometry rendering. <a href="#details">More...</a></p> <!-- @@@QGeometryRenderer --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QGeometryRenderer></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += 3drender</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.7</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-render-geometryrenderer.html">GeometryRenderer</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qt3dcore-qcomponent.html">Qt3DCore::QComponent</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qt3dextras-qconemesh.html">Qt3DExtras::QConeMesh</a>, <a href="qt3dextras-qcuboidmesh.html">Qt3DExtras::QCuboidMesh</a>, <a href="qt3dextras-qcylindermesh.html">Qt3DExtras::QCylinderMesh</a>, <a href="qt3dextras-qextrudedtextmesh.html">Qt3DExtras::QExtrudedTextMesh</a>, <a href="qt3dextras-qplanemesh.html">Qt3DExtras::QPlaneMesh</a>, <a href="qt3dextras-qspheremesh.html">Qt3DExtras::QSphereMesh</a>, <a href="qt3dextras-qtorusmesh.html">Qt3DExtras::QTorusMesh</a>, and <a href="qt3drender-qmesh.html">Qt3DRender::QMesh</a></p> </td></tr></table></div><ul> <li><a href="qt3drender-qgeometryrenderer-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-types"></a> <h2 id="public-types">Public Types</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#PrimitiveType-enum">PrimitiveType</a></b> { Points, Lines, LineLoop, LineStrip, ..., Patches }</td></tr> </table></div> <a name="properties"></a> <h2 id="properties">Properties</h2> <div class="table"><table class="propsummary"> <tr><td class="topAlign"><ul> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#firstInstance-prop">firstInstance</a></b> : int</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#firstVertex-prop">firstVertex</a></b> : int</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#geometry-prop">geometry</a></b> : Qt3DRender::QGeometry*</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#indexBufferByteOffset-prop">indexBufferByteOffset</a></b> : int</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#indexOffset-prop">indexOffset</a></b> : int</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#instanceCount-prop">instanceCount</a></b> : int</li> </ul></td><td class="topAlign"><ul> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#primitiveRestartEnabled-prop">primitiveRestartEnabled</a></b> : bool</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#primitiveType-prop">primitiveType</a></b> : PrimitiveType</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#restartIndexValue-prop">restartIndexValue</a></b> : int</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#vertexCount-prop">vertexCount</a></b> : int</li> <li class="fn"><b><a href="qt3drender-qgeometryrenderer.html#verticesPerPatch-prop">verticesPerPatch</a></b> : int</li> </ul> </td></tr> </table></div> <ul> <li class="fn">1 property inherited from <a href="qt3dcore-qcomponent.html#properties">Qt3DCore::QComponent</a></li> <li class="fn">3 properties inherited from <a href="qt3dcore-qnode.html#properties">Qt3DCore::QNode</a></li> <li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li> </ul> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#QGeometryRenderer">QGeometryRenderer</a></b>(Qt3DCore::QNode *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#firstInstance-prop">firstInstance</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#firstVertex-prop">firstVertex</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QGeometry *</td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#geometry-prop">geometry</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QGeometryFactoryPtr </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#geometryFactory">geometryFactory</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#indexBufferByteOffset-prop">indexBufferByteOffset</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#indexOffset-prop">indexOffset</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#instanceCount-prop">instanceCount</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#primitiveRestartEnabled-prop">primitiveRestartEnabled</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QGeometryRenderer::PrimitiveType </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#primitiveType-prop">primitiveType</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#restartIndexValue-prop">restartIndexValue</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#setGeometryFactory">setGeometryFactory</a></b>(const Qt3DRender::QGeometryFactoryPtr &<i>factory</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#vertexCount-prop">vertexCount</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#verticesPerPatch-prop">verticesPerPatch</a></b>() const</td></tr> </table></div> <ul> <li class="fn">2 public functions inherited from <a href="qt3dcore-qcomponent.html#public-functions">Qt3DCore::QComponent</a></li> <li class="fn">13 public functions inherited from <a href="qt3dcore-qnode.html#public-functions">Qt3DCore::QNode</a></li> <li class="fn">34 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li> </ul> <a name="public-slots"></a> <h2 id="public-slots">Public Slots</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#firstInstance-prop">setFirstInstance</a></b>(int <i>firstInstance</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#firstVertex-prop">setFirstVertex</a></b>(int <i>firstVertex</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#geometry-prop">setGeometry</a></b>(Qt3DRender::QGeometry *<i>geometry</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#indexBufferByteOffset-prop">setIndexBufferByteOffset</a></b>(int <i>offset</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#indexOffset-prop">setIndexOffset</a></b>(int <i>indexOffset</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#instanceCount-prop">setInstanceCount</a></b>(int <i>instanceCount</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#primitiveRestartEnabled-prop">setPrimitiveRestartEnabled</a></b>(bool <i>enabled</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#primitiveType-prop">setPrimitiveType</a></b>(Qt3DRender::QGeometryRenderer::PrimitiveType <i>primitiveType</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#restartIndexValue-prop">setRestartIndexValue</a></b>(int <i>index</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#vertexCount-prop">setVertexCount</a></b>(int <i>vertexCount</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#verticesPerPatch-prop">setVerticesPerPatch</a></b>(int <i>verticesPerPatch</i>)</td></tr> </table></div> <ul> <li class="fn">1 public slot inherited from <a href="qt3dcore-qcomponent.html#public-slots">Qt3DCore::QComponent</a></li> <li class="fn">3 public slots inherited from <a href="qt3dcore-qnode.html#public-slots">Qt3DCore::QNode</a></li> <li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li> </ul> <a name="signals"></a> <h2 id="signals">Signals</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#firstInstance-prop">firstInstanceChanged</a></b>(int <i>firstInstance</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#firstVertex-prop">firstVertexChanged</a></b>(int <i>firstVertex</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#geometry-prop">geometryChanged</a></b>(Qt3DRender::QGeometry *<i>geometry</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#indexBufferByteOffset-prop">indexBufferByteOffsetChanged</a></b>(int <i>offset</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#indexOffset-prop">indexOffsetChanged</a></b>(int <i>indexOffset</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#instanceCount-prop">instanceCountChanged</a></b>(int <i>instanceCount</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#primitiveRestartEnabled-prop">primitiveRestartEnabledChanged</a></b>(bool <i>primitiveRestartEnabled</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#primitiveType-prop">primitiveTypeChanged</a></b>(Qt3DRender::QGeometryRenderer::PrimitiveType <i>primitiveType</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#restartIndexValue-prop">restartIndexValueChanged</a></b>(int <i>restartIndexValue</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#vertexCount-prop">vertexCountChanged</a></b>(int <i>vertexCount</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qgeometryrenderer.html#verticesPerPatch-prop">verticesPerPatchChanged</a></b>(int <i>verticesPerPatch</i>)</td></tr> </table></div> <ul> <li class="fn">3 signals inherited from <a href="qt3dcore-qcomponent.html#signals">Qt3DCore::QComponent</a></li> <li class="fn">4 signals inherited from <a href="qt3dcore-qnode.html#signals">Qt3DCore::QNode</a></li> <li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li> </ul> <h3>Additional Inherited Members</h3> <ul> <li class="fn">1 public variable inherited from <a href="../qtcore/qobject.html#public-variables">QObject</a></li> <li class="fn">10 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li> <li class="fn">2 protected functions inherited from <a href="qt3dcore-qnode.html#protected-functions">Qt3DCore::QNode</a></li> <li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li> <li class="fn">2 protected variables inherited from <a href="../qtcore/qobject.html#protected-variables">QObject</a></li> </ul> <a name="details"></a> <!-- $$$QGeometryRenderer-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>Encapsulates geometry rendering.</p> <p>A <a href="qt3drender-qgeometryrenderer.html">Qt3DRender::QGeometryRenderer</a> holds all the information necessary to draw a <a href="qt3drender-qgeometry.html">Qt3DRender::QGeometry</a>. A <a href="qt3drender-qgeometry.html">QGeometry</a> holds the coordinates of the geometry data - <a href="qt3drender-qgeometryrenderer.html">QGeometryRenderer</a> specifies how to interpret that data.</p> </div> <!-- @@@QGeometryRenderer --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$PrimitiveType$$$Points$$$Lines$$$LineLoop$$$LineStrip$$$Triangles$$$TriangleStrip$$$TriangleFan$$$LinesAdjacency$$$TrianglesAdjacency$$$LineStripAdjacency$$$TriangleStripAdjacency$$$Patches --> <h3 class="fn" id="PrimitiveType-enum"><a name="PrimitiveType-enum"></a>enum QGeometryRenderer::<span class="name">PrimitiveType</span></h3> <p>The type of the primitive.</p> <div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tblval">Value</th><th class="tbldscr">Description</th></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::Points</code></td><td class="topAlign tblval"><code>0x0000</code></td><td class="topAlign">List of points</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::Lines</code></td><td class="topAlign tblval"><code>0x0001</code></td><td class="topAlign">List of lines</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::LineLoop</code></td><td class="topAlign tblval"><code>0x0002</code></td><td class="topAlign">Connected group of lines connected at ends forming a loop</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::LineStrip</code></td><td class="topAlign tblval"><code>0x0003</code></td><td class="topAlign">Connected group of lines</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::Triangles</code></td><td class="topAlign tblval"><code>0x0004</code></td><td class="topAlign">List of triangles</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::TriangleStrip</code></td><td class="topAlign tblval"><code>0x0005</code></td><td class="topAlign">List of connected triangles</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::TriangleFan</code></td><td class="topAlign tblval"><code>0x0006</code></td><td class="topAlign">List of connected triagles where all triangles share the first vertex</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::LinesAdjacency</code></td><td class="topAlign tblval"><code>0x000A</code></td><td class="topAlign">Allows geometry shader to access adjacent lines in a line list</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::TrianglesAdjacency</code></td><td class="topAlign tblval"><code>0x000C</code></td><td class="topAlign">Allows geometry shader to access adjacent triangles in a triangle list</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::LineStripAdjacency</code></td><td class="topAlign tblval"><code>0x000B</code></td><td class="topAlign">Allows geometry shader to access adjacent lines in a line strip</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::TriangleStripAdjacency</code></td><td class="topAlign tblval"><code>0x000D</code></td><td class="topAlign">Allows geometry shader to access adjacent triangles in a triangle strip</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QGeometryRenderer::Patches</code></td><td class="topAlign tblval"><code>0x000E</code></td><td class="topAlign">Only primitive type accepted by tesselation shader where a patch consists of arbitrary number of vertices</td></tr> </table></div> <!-- @@@PrimitiveType --> </div> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$firstInstance-prop$$$firstInstance$$$setFirstInstanceint$$$firstInstanceChangedint --> <h3 class="fn" id="firstInstance-prop"><a name="firstInstance-prop"></a><span class="name">firstInstance</span> : <span class="type">int</span></h3> <p>Holds the base instance.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>firstInstance</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFirstInstance</b></span>(int <i>firstInstance</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>firstInstanceChanged</b></span>(int <i>firstInstance</i>)</td></tr> </table></div> <!-- @@@firstInstance --> <!-- $$$firstVertex-prop$$$firstVertex$$$setFirstVertexint$$$firstVertexChangedint --> <h3 class="fn" id="firstVertex-prop"><a name="firstVertex-prop"></a><span class="name">firstVertex</span> : <span class="type">int</span></h3> <p>Holds the base vertex.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>firstVertex</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setFirstVertex</b></span>(int <i>firstVertex</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>firstVertexChanged</b></span>(int <i>firstVertex</i>)</td></tr> </table></div> <!-- @@@firstVertex --> <!-- $$$geometry-prop$$$geometry$$$setGeometryQt3DRender::QGeometry*$$$geometryChangedQt3DRender::QGeometry* --> <h3 class="fn" id="geometry-prop"><a name="geometry-prop"></a><span class="name">geometry</span> : <span class="type">Qt3DRender::QGeometry</span>*</h3> <p>Holds the geometry.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QGeometry *</td><td class="memItemRight bottomAlign"><span class="name"><b>geometry</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setGeometry</b></span>(Qt3DRender::QGeometry *<i>geometry</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>geometryChanged</b></span>(Qt3DRender::QGeometry *<i>geometry</i>)</td></tr> </table></div> <!-- @@@geometry --> <!-- $$$indexBufferByteOffset-prop$$$indexBufferByteOffset$$$setIndexBufferByteOffsetint$$$indexBufferByteOffsetChangedint --> <h3 class="fn" id="indexBufferByteOffset-prop"><a name="indexBufferByteOffset-prop"></a><span class="name">indexBufferByteOffset</span> : <span class="type">int</span></h3> <p>Holds the byte offset into the index buffer.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>indexBufferByteOffset</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setIndexBufferByteOffset</b></span>(int <i>offset</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>indexBufferByteOffsetChanged</b></span>(int <i>offset</i>)</td></tr> </table></div> <!-- @@@indexBufferByteOffset --> <!-- $$$indexOffset-prop$$$indexOffset$$$setIndexOffsetint$$$indexOffsetChangedint --> <h3 class="fn" id="indexOffset-prop"><a name="indexOffset-prop"></a><span class="name">indexOffset</span> : <span class="type">int</span></h3> <p>Holds the base vertex.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>indexOffset</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setIndexOffset</b></span>(int <i>indexOffset</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>indexOffsetChanged</b></span>(int <i>indexOffset</i>)</td></tr> </table></div> <!-- @@@indexOffset --> <!-- $$$instanceCount-prop$$$instanceCount$$$setInstanceCountint$$$instanceCountChangedint --> <h3 class="fn" id="instanceCount-prop"><a name="instanceCount-prop"></a><span class="name">instanceCount</span> : <span class="type">int</span></h3> <p>Holds the instance count.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>instanceCount</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setInstanceCount</b></span>(int <i>instanceCount</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>instanceCountChanged</b></span>(int <i>instanceCount</i>)</td></tr> </table></div> <!-- @@@instanceCount --> <!-- $$$primitiveRestartEnabled-prop$$$primitiveRestartEnabled$$$setPrimitiveRestartEnabledbool$$$primitiveRestartEnabledChangedbool --> <h3 class="fn" id="primitiveRestartEnabled-prop"><a name="primitiveRestartEnabled-prop"></a><span class="name">primitiveRestartEnabled</span> : <span class="type">bool</span></h3> <p>Holds the primitive restart flag.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>primitiveRestartEnabled</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPrimitiveRestartEnabled</b></span>(bool <i>enabled</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>primitiveRestartEnabledChanged</b></span>(bool <i>primitiveRestartEnabled</i>)</td></tr> </table></div> <!-- @@@primitiveRestartEnabled --> <!-- $$$primitiveType-prop$$$primitiveType$$$setPrimitiveTypeQt3DRender::QGeometryRenderer::PrimitiveType$$$primitiveTypeChangedQt3DRender::QGeometryRenderer::PrimitiveType --> <h3 class="fn" id="primitiveType-prop"><a name="primitiveType-prop"></a><span class="name">primitiveType</span> : <span class="type"><a href="qt3drender-qgeometryrenderer.html#PrimitiveType-enum">PrimitiveType</a></span></h3> <p>Holds the primitive type.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QGeometryRenderer::PrimitiveType </td><td class="memItemRight bottomAlign"><span class="name"><b>primitiveType</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setPrimitiveType</b></span>(Qt3DRender::QGeometryRenderer::PrimitiveType <i>primitiveType</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>primitiveTypeChanged</b></span>(Qt3DRender::QGeometryRenderer::PrimitiveType <i>primitiveType</i>)</td></tr> </table></div> <!-- @@@primitiveType --> <!-- $$$restartIndexValue-prop$$$restartIndexValue$$$setRestartIndexValueint$$$restartIndexValueChangedint --> <h3 class="fn" id="restartIndexValue-prop"><a name="restartIndexValue-prop"></a><span class="name">restartIndexValue</span> : <span class="type">int</span></h3> <p>Holds the restart index.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>restartIndexValue</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setRestartIndexValue</b></span>(int <i>index</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>restartIndexValueChanged</b></span>(int <i>restartIndexValue</i>)</td></tr> </table></div> <!-- @@@restartIndexValue --> <!-- $$$vertexCount-prop$$$vertexCount$$$setVertexCountint$$$vertexCountChangedint --> <h3 class="fn" id="vertexCount-prop"><a name="vertexCount-prop"></a><span class="name">vertexCount</span> : <span class="type">int</span></h3> <p>Holds the primitive count.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>vertexCount</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setVertexCount</b></span>(int <i>vertexCount</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>vertexCountChanged</b></span>(int <i>vertexCount</i>)</td></tr> </table></div> <!-- @@@vertexCount --> <!-- $$$verticesPerPatch-prop$$$verticesPerPatch$$$setVerticesPerPatchint$$$verticesPerPatchChangedint --> <h3 class="fn" id="verticesPerPatch-prop"><a name="verticesPerPatch-prop"></a><span class="name">verticesPerPatch</span> : <span class="type">int</span></h3> <p>Holds vertices per patch.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> int </td><td class="memItemRight bottomAlign"><span class="name"><b>verticesPerPatch</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setVerticesPerPatch</b></span>(int <i>verticesPerPatch</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>verticesPerPatchChanged</b></span>(int <i>verticesPerPatch</i>)</td></tr> </table></div> <!-- @@@verticesPerPatch --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QGeometryRenderer[overload1]$$$QGeometryRendererQt3DCore::QNode* --> <h3 class="fn" id="QGeometryRenderer"><a name="QGeometryRenderer"></a>QGeometryRenderer::<span class="name">QGeometryRenderer</span>(<span class="type">Qt3DCore::QNode</span> *<i>parent</i> = nullptr)</h3> <p>Constructs a new <a href="qt3drender-qgeometryrenderer.html">QGeometryRenderer</a> with <i>parent</i>.</p> <!-- @@@QGeometryRenderer --> <!-- $$$geometryFactory[overload1]$$$geometryFactory --> <h3 class="fn" id="geometryFactory"><a name="geometryFactory"></a><span class="type">Qt3DRender::QGeometryFactoryPtr</span> QGeometryRenderer::<span class="name">geometryFactory</span>() const</h3> <p>Returns the geometry functor.</p> <p><b>See also </b><a href="qt3drender-qgeometryrenderer.html#setGeometryFactory">setGeometryFactory</a>().</p> <!-- @@@geometryFactory --> <!-- $$$setGeometryFactory[overload1]$$$setGeometryFactoryconstQt3DRender::QGeometryFactoryPtr& --> <h3 class="fn" id="setGeometryFactory"><a name="setGeometryFactory"></a><span class="type">void</span> QGeometryRenderer::<span class="name">setGeometryFactory</span>(const <span class="type">Qt3DRender::QGeometryFactoryPtr</span> &<i>factory</i>)</h3> <p>Sets the geometry <i>factory</i>.</p> <p><b>See also </b><a href="qt3drender-qgeometryrenderer.html#geometryFactory">geometryFactory</a>().</p> <!-- @@@setGeometryFactory --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2018 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>