<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qbuffer.cpp --> <title>Obsolete Members for QBuffer | Qt 3D 5.12.6</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="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-cpp.html">C++ Classes</a></td><td >QBuffer</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qt3d-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">Obsolete Members for QBuffer</h1> <p><b>The following members of class <a href="qt3drender-qbuffer.html">QBuffer</a> are obsolete.</b> They are provided to keep old source code working. We strongly advise against using them in new code.</p> <h2>Public Types</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code>enum </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qbuffer-obsolete.html#BufferType-enum">BufferType</a></b> { VertexBuffer, IndexBuffer, PixelPackBuffer, PixelUnpackBuffer, ..., DrawIndirectBuffer }</td></tr> </table></div> <h2>Properties</h2> <ul> <li class="fn"><code>(obsolete) </code><b><a href="qt3drender-qbuffer-obsolete.html#type-prop">type</a></b> : BufferType</li> </ul> <h2>Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> <code>(obsolete) </code></td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qbuffer-obsolete.html#QBuffer-1">QBuffer</a></b>(Qt3DRender::QBuffer::BufferType <i>ty</i>, Qt3DCore::QNode *<i>parent</i> = nullptr)</td></tr> </table></div> <h2>Member Type Documentation</h2> <!-- $$$BufferType$$$VertexBuffer$$$IndexBuffer$$$PixelPackBuffer$$$PixelUnpackBuffer$$$UniformBuffer$$$ShaderStorageBuffer$$$DrawIndirectBuffer --> <h3 class="fn" id="BufferType-enum"><a name="BufferType-enum"></a>enum QBuffer::<span class="name">BufferType</span></h3> <p>This enum is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p> <p>The type of the buffer.</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::QBuffer::VertexBuffer</code></td><td class="topAlign tblval"><code>0x8892</code></td><td class="topAlign">GL_ARRAY_BUFFER</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QBuffer::IndexBuffer</code></td><td class="topAlign tblval"><code>0x8893</code></td><td class="topAlign">GL_ELEMENT_ARRAY_BUFFER</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QBuffer::PixelPackBuffer</code></td><td class="topAlign tblval"><code>0x88EB</code></td><td class="topAlign">GL_PIXEL_PACK_BUFFER</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QBuffer::PixelUnpackBuffer</code></td><td class="topAlign tblval"><code>0x88EC</code></td><td class="topAlign">GL_PIXEL_UNPACK_BUFFER</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QBuffer::UniformBuffer</code></td><td class="topAlign tblval"><code>0x8A11</code></td><td class="topAlign">GL_UNIFORM_BUFFER</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QBuffer::ShaderStorageBuffer</code></td><td class="topAlign tblval"><code>0x90D2</code></td><td class="topAlign">GL_SHADER_STORAGE_BUFFER</td></tr> <tr><td class="topAlign"><code>Qt3DRender::QBuffer::DrawIndirectBuffer</code></td><td class="topAlign tblval"><code>0x8F3F</code></td><td class="topAlign">GL_DRAW_INDIRECT_BUFFER</td></tr> </table></div> <!-- @@@BufferType --> <h2>Property Documentation</h2> <!-- $$$type-prop$$$type$$$setTypeQt3DRender::QBuffer::BufferType$$$typeChangedQt3DRender::QBuffer::BufferType --> <h3 class="fn" id="type-prop"><a name="type-prop"></a><span class="name">type</span> : <span class="type"><a href="qt3drender-qbuffer-obsolete.html#BufferType-enum">BufferType</a></span></h3> <p>This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p> <p>Holds the buffer type.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBuffer::BufferType </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qbuffer.html#type-prop">type</a></b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qbuffer.html#type-prop">setType</a></b></span>(Qt3DRender::QBuffer::BufferType <i>type</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><a href="qt3drender-qbuffer.html#type-prop">typeChanged</a></b></span>(Qt3DRender::QBuffer::BufferType <i>type</i>)</td></tr> </table></div> <!-- @@@type --> <h2>Member Function Documentation</h2> <!-- $$$QBuffer$$$QBufferQt3DRender::QBuffer::BufferTypeQt3DCore::QNode* --> <h3 class="fn" id="QBuffer-1"><a name="QBuffer-1"></a>QBuffer::<span class="name">QBuffer</span>(<span class="type"><a href="qt3drender-qbuffer-obsolete.html#BufferType-enum">Qt3DRender::QBuffer::BufferType</a></span> <i>ty</i>, <span class="type"><a href="qt3dcore-qnode.html">Qt3DCore::QNode</a></span> *<i>parent</i> = nullptr)</h3> <p>This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p> <p>Constructs a new <a href="qt3drender-qbuffer.html">QBuffer</a> of buffer type <i>ty</i> with <i>parent</i>.</p> <!-- @@@QBuffer --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>