<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qblitframebuffer.cpp --> <title>BlitFramebuffer QML Type | 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-qml.html">QML Types</a></td><td >BlitFramebuffer QML Type</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="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#properties">Properties</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">BlitFramebuffer QML Type</h1> <span class="subtitle"></span> <!-- $$$BlitFramebuffer-brief --> <p>FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another. <a href="#details">More...</a></p> <!-- @@@BlitFramebuffer --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import Qt3D.Render 2.12</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.10</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-render-blitframebuffer.html"><a href="qt3drender-qblitframebuffer.html">QBlitFramebuffer</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qt3d-render-framegraphnode.html">FrameGraphNode</a></p> </td></tr></table></div><ul> <li><a href="qml-qt3d-render-blitframebuffer-members.html">List of all members, including inherited members</a></li> </ul> <a name="properties"></a> <h2 id="properties">Properties</h2> <ul> <li class="fn"><b><b><a href="qml-qt3d-render-blitframebuffer.html#destination-prop">destination</a></b></b> : RenderTarget</li> <li class="fn"><b><b><a href="qml-qt3d-render-blitframebuffer.html#destinationAttachmentPoint-prop">destinationAttachmentPoint</a></b></b> : RenderTargetOutput.AttachmentPoint</li> <li class="fn"><b><b><a href="qml-qt3d-render-blitframebuffer.html#destinationRect-prop">destinationRect</a></b></b> : Rect</li> <li class="fn"><b><b><a href="qml-qt3d-render-blitframebuffer.html#interpolationMethod-prop">interpolationMethod</a></b></b> : InterpolationMethod</li> <li class="fn"><b><b><a href="qml-qt3d-render-blitframebuffer.html#source-prop">source</a></b></b> : RenderTarget</li> <li class="fn"><b><b><a href="qml-qt3d-render-blitframebuffer.html#sourceAttachmentPoint-prop">sourceAttachmentPoint</a></b></b> : RenderTargetOutput.AttachmentPoint</li> <li class="fn"><b><b><a href="qml-qt3d-render-blitframebuffer.html#sourceRect-prop">sourceRect</a></b></b> : Rect</li> </ul> <!-- $$$BlitFramebuffer-description --> <a name="details"></a> <h2 id="details">Detailed Description</h2> <p>This node inserts a <code>glBlitFrameBuffer</code> or an equivalent into the command stream. This provides a more efficient method for copying rectangles between textures or surface backbuffers wrapped by QRenderTarget than drawing textured quads. It also supports scaling with the specified interpolation method.</p> <p><b>Note: </b>In practice the <a href="qml-qt3d-render-blitframebuffer.html">BlitFramebuffer</a> node will often be used in combination with <a href="qml-qt3d-render-nodraw.html">NoDraw</a> since a blit should not involve issuing draw calls for any entities.</p><!-- @@@BlitFramebuffer --> <h2>Property Documentation</h2> <!-- $$$destination --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="destination-prop"> <td class="tblQmlPropNode"><p> <a name="destination-prop"></a><span class="name">destination</span> : <span class="type"><a href="qml-qt3d-render-rendertarget.html">RenderTarget</a></span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Specifies the destination render target. When not set, the destination is assumed to be the default framebuffer (i.e. the backbuffer of the current surface), if there is one.</p> <p><b>Note: </b>the source and destination must not refer to the same render target.</p></div></div><!-- @@@destination --> <br/> <!-- $$$destinationAttachmentPoint --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="destinationAttachmentPoint-prop"> <td class="tblQmlPropNode"><p> <a name="destinationAttachmentPoint-prop"></a><span class="name">destinationAttachmentPoint</span> : <span class="type"><a href="qml-qt3d-render-rendertargetoutput.html">RenderTargetOutput</a></span>.<span class="type">AttachmentPoint</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Specifies the source attachment point. Defaults to <a href="qml-qt3d-render-rendertargetoutput.html">RenderTargetOutput</a>.AttachmentPoint.Color0.</p> </div></div><!-- @@@destinationAttachmentPoint --> <br/> <!-- $$$destinationRect --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="destinationRect-prop"> <td class="tblQmlPropNode"><p> <a name="destinationRect-prop"></a><span class="name">destinationRect</span> : <span class="type">Rect</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Specifies the destination rectangle. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.</p> </div></div><!-- @@@destinationRect --> <br/> <!-- $$$interpolationMethod --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="interpolationMethod-prop"> <td class="tblQmlPropNode"><p> <a name="interpolationMethod-prop"></a><span class="name">interpolationMethod</span> : <span class="type">InterpolationMethod</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Specifies the interpolation applied if the image is stretched. Defaults to Linear.</p> </div></div><!-- @@@interpolationMethod --> <br/> <!-- $$$source --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="source-prop"> <td class="tblQmlPropNode"><p> <a name="source-prop"></a><span class="name">source</span> : <span class="type"><a href="qml-qt3d-render-rendertarget.html">RenderTarget</a></span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Specifies the source render target. When not set, the source is assumed to be the default framebuffer (i.e. the backbuffer of the current surface), if there is one.</p> <p><b>Note: </b>the source and destination must not refer to the same render target.</p></div></div><!-- @@@source --> <br/> <!-- $$$sourceAttachmentPoint --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="sourceAttachmentPoint-prop"> <td class="tblQmlPropNode"><p> <a name="sourceAttachmentPoint-prop"></a><span class="name">sourceAttachmentPoint</span> : <span class="type"><a href="qml-qt3d-render-rendertargetoutput.html">RenderTargetOutput</a></span>.<span class="type">AttachmentPoint</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Specifies the source attachment point. Defaults to <a href="qml-qt3d-render-rendertargetoutput.html">RenderTargetOutput</a>.AttachmentPoint.Color0.</p> </div></div><!-- @@@sourceAttachmentPoint --> <br/> <!-- $$$sourceRect --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="sourceRect-prop"> <td class="tblQmlPropNode"><p> <a name="sourceRect-prop"></a><span class="name">sourceRect</span> : <span class="type">Rect</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Specifies the source rectangle. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.</p> </div></div><!-- @@@sourceRect --> <br/> </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>