<?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>QBlitFramebuffer Class | 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 >QBlitFramebuffer</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="#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="#signals">Signals</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</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">QBlitFramebuffer Class</h1> <span class="small-subtitle">(<a href="qt3drender-qblitframebuffer.html">Qt3DRender::QBlitFramebuffer</a>)<br/></span> <!-- $$$QBlitFramebuffer-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> <!-- @@@QBlitFramebuffer --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QBlitFramebuffer></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.10</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiated By:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-render-blitframebuffer.html">BlitFramebuffer</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qt3drender-qframegraphnode.html">Qt3DRender::QFrameGraphNode</a></td></tr></table></div><ul> <li><a href="qt3drender-qblitframebuffer-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-qblitframebuffer.html#InterpolationMethod-enum">InterpolationMethod</a></b> { Nearest, Linear }</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-qblitframebuffer.html#destination-prop">destination</a></b> : Qt3DRender::QRenderTarget*</li> <li class="fn"><b><a href="qt3drender-qblitframebuffer.html#destinationAttachmentPoint-prop">destinationAttachmentPoint</a></b> : Qt3DRender::QRenderTargetOutput::AttachmentPoint</li> <li class="fn"><b><a href="qt3drender-qblitframebuffer.html#destinationRect-prop">destinationRect</a></b> : QRectF</li> <li class="fn"><b><a href="qt3drender-qblitframebuffer.html#interpolationMethod-prop">interpolationMethod</a></b> : InterpolationMethod</li> </ul></td><td class="topAlign"><ul> <li class="fn"><b><a href="qt3drender-qblitframebuffer.html#source-prop">source</a></b> : Qt3DRender::QRenderTarget*</li> <li class="fn"><b><a href="qt3drender-qblitframebuffer.html#sourceAttachmentPoint-prop">sourceAttachmentPoint</a></b> : Qt3DRender::QRenderTargetOutput::AttachmentPoint</li> <li class="fn"><b><a href="qt3drender-qblitframebuffer.html#sourceRect-prop">sourceRect</a></b> : QRectF</li> </ul> </td></tr> </table></div> <ul> <li class="fn">3 properties inherited from <a href="qt3dcore-qnode.html#properties">Qt3DCore::QNode</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-qblitframebuffer.html#QBlitFramebuffer">QBlitFramebuffer</a></b>(Qt3DCore::QNode *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#dtor.QBlitFramebuffer">~QBlitFramebuffer</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QRenderTarget *</td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#destination">destination</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QRenderTargetOutput::AttachmentPoint </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#destinationAttachmentPoint">destinationAttachmentPoint</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QRectF </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#destinationRect">destinationRect</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QBlitFramebuffer::InterpolationMethod </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#interpolationMethod">interpolationMethod</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#setDestination">setDestination</a></b>(Qt3DRender::QRenderTarget *<i>destination</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#setDestinationAttachmentPoint">setDestinationAttachmentPoint</a></b>(Qt3DRender::QRenderTargetOutput::AttachmentPoint <i>destinationAttachmentPoint</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#setDestinationRect">setDestinationRect</a></b>(const QRectF &<i>outputRect</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#setInterpolationMethod">setInterpolationMethod</a></b>(Qt3DRender::QBlitFramebuffer::InterpolationMethod <i>interpolationMethod</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#setSource">setSource</a></b>(Qt3DRender::QRenderTarget *<i>source</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#setSourceAttachmentPoint">setSourceAttachmentPoint</a></b>(Qt3DRender::QRenderTargetOutput::AttachmentPoint <i>sourceAttachmentPoint</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#setSourceRect">setSourceRect</a></b>(const QRectF &<i>inputRect</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QRenderTarget *</td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#source">source</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QRenderTargetOutput::AttachmentPoint </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#sourceAttachmentPoint">sourceAttachmentPoint</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QRectF </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#sourceRect">sourceRect</a></b>() const</td></tr> </table></div> <ul> <li class="fn">1 public function inherited from <a href="qt3drender-qframegraphnode.html#public-functions">Qt3DRender::QFrameGraphNode</a></li> <li class="fn">13 public functions inherited from <a href="qt3dcore-qnode.html#public-functions">Qt3DCore::QNode</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-qblitframebuffer.html#destinationAttachmentPoint-prop">destinationAttachmentPointChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#destination-prop">destinationChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#destinationRect-prop">destinationRectChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#interpolationMethod-prop">interpolationMethodChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#sourceAttachmentPoint-prop">sourceAttachmentPointChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#source-prop">sourceChanged</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#sourceRect-prop">sourceRectChanged</a></b>()</td></tr> </table></div> <ul> <li class="fn">4 signals inherited from <a href="qt3dcore-qnode.html#signals">Qt3DCore::QNode</a></li> </ul> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qblitframebuffer.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <h3>Additional Inherited Members</h3> <ul> <li class="fn">3 public slots inherited from <a href="qt3dcore-qnode.html#public-slots">Qt3DCore::QNode</a></li> <li class="fn">1 protected function inherited from <a href="qt3drender-qframegraphnode.html#protected-functions">Qt3DRender::QFrameGraphNode</a></li> <li class="fn">2 protected functions inherited from <a href="qt3dcore-qnode.html#protected-functions">Qt3DCore::QNode</a></li> </ul> <a name="details"></a> <!-- $$$QBlitFramebuffer-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another.</p> <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 <a href="qt3drender-qrendertarget.html">QRenderTarget</a> than drawing textured quads. It also supports scaling with the specified interpolation method.</p> <p><b>Note: </b>In practice the <a href="qt3drender-qblitframebuffer.html">QBlitFramebuffer</a> node will often be used in combination with <a href="qt3drender-qnodraw.html">QNoDraw</a> since a blit should not involve issuing draw calls for any entities.</p></div> <!-- @@@QBlitFramebuffer --> <div class="types"> <h2>Member Type Documentation</h2> <!-- $$$InterpolationMethod$$$Nearest$$$Linear --> <h3 class="fn" id="InterpolationMethod-enum"><a name="InterpolationMethod-enum"></a>enum QBlitFramebuffer::<span class="name">InterpolationMethod</span></h3> <!-- @@@InterpolationMethod --> </div> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$destination-prop$$$destination$$$setDestinationQt3DRender::QRenderTarget*$$$destinationChanged --> <h3 class="fn" id="destination-prop"><a name="destination-prop"></a><span class="name">destination</span> : <span class="type"><a href="qt3drender-qrendertarget.html">Qt3DRender::QRenderTarget</a></span>*</h3> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QRenderTarget *</td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qblitframebuffer.html#destination">destination</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-qblitframebuffer.html#setDestination">setDestination</a></b></span>(Qt3DRender::QRenderTarget *<i>destination</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>destinationChanged</b></span>()</td></tr> </table></div> <!-- @@@destination --> <!-- $$$destinationAttachmentPoint-prop$$$destinationAttachmentPoint$$$setDestinationAttachmentPointQt3DRender::QRenderTargetOutput::AttachmentPoint$$$destinationAttachmentPointChanged --> <h3 class="fn" id="destinationAttachmentPoint-prop"><a name="destinationAttachmentPoint-prop"></a><span class="name">destinationAttachmentPoint</span> : <span class="type"><a href="qt3drender-qrendertargetoutput.html#AttachmentPoint-enum">Qt3DRender::QRenderTargetOutput::AttachmentPoint</a></span></h3> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QRenderTargetOutput::AttachmentPoint </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qblitframebuffer.html#destinationAttachmentPoint">destinationAttachmentPoint</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-qblitframebuffer.html#setDestinationAttachmentPoint">setDestinationAttachmentPoint</a></b></span>(Qt3DRender::QRenderTargetOutput::AttachmentPoint <i>destinationAttachmentPoint</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>destinationAttachmentPointChanged</b></span>()</td></tr> </table></div> <!-- @@@destinationAttachmentPoint --> <!-- $$$destinationRect-prop$$$destinationRect$$$setDestinationRectconstQRectF&$$$destinationRectChanged --> <h3 class="fn" id="destinationRect-prop"><a name="destinationRect-prop"></a><span class="name">destinationRect</span> : <span class="type">QRectF</span></h3> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QRectF </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qblitframebuffer.html#destinationRect">destinationRect</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-qblitframebuffer.html#setDestinationRect">setDestinationRect</a></b></span>(const QRectF &<i>outputRect</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>destinationRectChanged</b></span>()</td></tr> </table></div> <!-- @@@destinationRect --> <!-- $$$interpolationMethod-prop$$$interpolationMethod$$$setInterpolationMethodQt3DRender::QBlitFramebuffer::InterpolationMethod$$$interpolationMethodChanged --> <h3 class="fn" id="interpolationMethod-prop"><a name="interpolationMethod-prop"></a><span class="name">interpolationMethod</span> : <span class="type"><a href="qt3drender-qblitframebuffer.html#InterpolationMethod-enum">InterpolationMethod</a></span></h3> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QBlitFramebuffer::InterpolationMethod </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qblitframebuffer.html#interpolationMethod">interpolationMethod</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-qblitframebuffer.html#setInterpolationMethod">setInterpolationMethod</a></b></span>(Qt3DRender::QBlitFramebuffer::InterpolationMethod <i>interpolationMethod</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>interpolationMethodChanged</b></span>()</td></tr> </table></div> <!-- @@@interpolationMethod --> <!-- $$$source-prop$$$source$$$setSourceQt3DRender::QRenderTarget*$$$sourceChanged --> <h3 class="fn" id="source-prop"><a name="source-prop"></a><span class="name">source</span> : <span class="type"><a href="qt3drender-qrendertarget.html">Qt3DRender::QRenderTarget</a></span>*</h3> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QRenderTarget *</td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qblitframebuffer.html#source">source</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-qblitframebuffer.html#setSource">setSource</a></b></span>(Qt3DRender::QRenderTarget *<i>source</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>sourceChanged</b></span>()</td></tr> </table></div> <!-- @@@source --> <!-- $$$sourceAttachmentPoint-prop$$$sourceAttachmentPoint$$$setSourceAttachmentPointQt3DRender::QRenderTargetOutput::AttachmentPoint$$$sourceAttachmentPointChanged --> <h3 class="fn" id="sourceAttachmentPoint-prop"><a name="sourceAttachmentPoint-prop"></a><span class="name">sourceAttachmentPoint</span> : <span class="type"><a href="qt3drender-qrendertargetoutput.html#AttachmentPoint-enum">Qt3DRender::QRenderTargetOutput::AttachmentPoint</a></span></h3> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> Qt3DRender::QRenderTargetOutput::AttachmentPoint </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qblitframebuffer.html#sourceAttachmentPoint">sourceAttachmentPoint</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-qblitframebuffer.html#setSourceAttachmentPoint">setSourceAttachmentPoint</a></b></span>(Qt3DRender::QRenderTargetOutput::AttachmentPoint <i>sourceAttachmentPoint</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>sourceAttachmentPointChanged</b></span>()</td></tr> </table></div> <!-- @@@sourceAttachmentPoint --> <!-- $$$sourceRect-prop$$$sourceRect$$$setSourceRectconstQRectF&$$$sourceRectChanged --> <h3 class="fn" id="sourceRect-prop"><a name="sourceRect-prop"></a><span class="name">sourceRect</span> : <span class="type">QRectF</span></h3> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QRectF </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qt3drender-qblitframebuffer.html#sourceRect">sourceRect</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-qblitframebuffer.html#setSourceRect">setSourceRect</a></b></span>(const QRectF &<i>inputRect</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>sourceRectChanged</b></span>()</td></tr> </table></div> <!-- @@@sourceRect --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QBlitFramebuffer[overload1]$$$QBlitFramebufferQt3DCore::QNode* --> <h3 class="fn" id="QBlitFramebuffer"><a name="QBlitFramebuffer"></a>QBlitFramebuffer::<span class="name">QBlitFramebuffer</span>(<span class="type"><a href="qt3dcore-qnode.html">Qt3DCore::QNode</a></span> *<i>parent</i> = nullptr)</h3> <p>Constructs a new <a href="qt3drender-qblitframebuffer.html">QBlitFramebuffer</a> with the given <i>parent</i>.</p> <!-- @@@QBlitFramebuffer --> <!-- $$$~QBlitFramebuffer[overload1]$$$~QBlitFramebuffer --> <h3 class="fn" id="dtor.QBlitFramebuffer"><a name="dtor.QBlitFramebuffer"></a><code>[virtual] </code>QBlitFramebuffer::<span class="name">~QBlitFramebuffer</span>()</h3> <p>Destructor.</p> <!-- @@@~QBlitFramebuffer --> <!-- $$$destination --> <h3 class="fn" id="destination"><a name="destination"></a><span class="type"><a href="qt3drender-qrendertarget.html">Qt3DRender::QRenderTarget</a></span> *QBlitFramebuffer::<span class="name">destination</span>() const</h3> <p>Returns the destination render target.</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qblitframebuffer.html#destination-prop">destination</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#setDestination">setDestination</a>().</p> <!-- @@@destination --> <!-- $$$destinationAttachmentPoint --> <h3 class="fn" id="destinationAttachmentPoint"><a name="destinationAttachmentPoint"></a><span class="type"><a href="qt3drender-qrendertargetoutput.html#AttachmentPoint-enum">Qt3DRender::QRenderTargetOutput::AttachmentPoint</a></span> QBlitFramebuffer::<span class="name">destinationAttachmentPoint</span>() const</h3> <p>Returns the destination attachment point.</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qblitframebuffer.html#destinationAttachmentPoint-prop">destinationAttachmentPoint</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#setDestinationAttachmentPoint">setDestinationAttachmentPoint</a>().</p> <!-- @@@destinationAttachmentPoint --> <!-- $$$destinationRect --> <h3 class="fn" id="destinationRect"><a name="destinationRect"></a><span class="type">QRectF</span> QBlitFramebuffer::<span class="name">destinationRect</span>() const</h3> <p>Returns the destination rectangle.</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qblitframebuffer.html#destinationRect-prop">destinationRect</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#setDestinationRect">setDestinationRect</a>().</p> <!-- @@@destinationRect --> <!-- $$$interpolationMethod --> <h3 class="fn" id="interpolationMethod"><a name="interpolationMethod"></a><span class="type"><a href="qt3drender-qblitframebuffer.html#InterpolationMethod-enum">Qt3DRender::QBlitFramebuffer::InterpolationMethod</a></span> QBlitFramebuffer::<span class="name">interpolationMethod</span>() const</h3> <p>Returns the interpolation method.</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qblitframebuffer.html#interpolationMethod-prop">interpolationMethod</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#setInterpolationMethod">setInterpolationMethod</a>().</p> <!-- @@@interpolationMethod --> <!-- $$$setDestination --> <h3 class="fn" id="setDestination"><a name="setDestination"></a><span class="type">void</span> QBlitFramebuffer::<span class="name">setDestination</span>(<span class="type"><a href="qt3drender-qrendertarget.html">Qt3DRender::QRenderTarget</a></span> *<i>destination</i>)</h3> <p>Sets the destination render target. The default value is nullptr, in which case the destination is assumed to be 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><p><b>Note: </b>As with other nodes, <i>destination</i> gets automatically parented to the <a href="qt3drender-qblitframebuffer.html">QBlitFramebuffer</a> instance when no parent has been set. The lifetime is also tracked, meaning the destination reverts to nullptr in case the currently set <i>destination</i> is destroyed.</p><p><b>Note:</b> Setter function for property <a href="qt3drender-qblitframebuffer.html#destination-prop">destination</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#destination">destination</a>().</p> <!-- @@@setDestination --> <!-- $$$setDestinationAttachmentPoint --> <h3 class="fn" id="setDestinationAttachmentPoint"><a name="setDestinationAttachmentPoint"></a><span class="type">void</span> QBlitFramebuffer::<span class="name">setDestinationAttachmentPoint</span>(<span class="type"><a href="qt3drender-qrendertargetoutput.html#AttachmentPoint-enum">Qt3DRender::QRenderTargetOutput::AttachmentPoint</a></span> <i>destinationAttachmentPoint</i>)</h3> <p>Sets the <i>destinationAttachmentPoint</i>. Defaults to Qt3DRender::QRenderTargetOutput::AttachmentPoint::Color0.</p> <p><b>Note:</b> Setter function for property <a href="qt3drender-qblitframebuffer.html#destinationAttachmentPoint-prop">destinationAttachmentPoint</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#destinationAttachmentPoint">destinationAttachmentPoint</a>().</p> <!-- @@@setDestinationAttachmentPoint --> <!-- $$$setDestinationRect --> <h3 class="fn" id="setDestinationRect"><a name="setDestinationRect"></a><span class="type">void</span> QBlitFramebuffer::<span class="name">setDestinationRect</span>(const <span class="type">QRectF</span> &<i>outputRect</i>)</h3> <p>Sets the destination rectangle to <i>outputRect</i>. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.</p> <p><b>Note:</b> Setter function for property <a href="qt3drender-qblitframebuffer.html#destinationRect-prop">destinationRect</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#destinationRect">destinationRect</a>().</p> <!-- @@@setDestinationRect --> <!-- $$$setInterpolationMethod --> <h3 class="fn" id="setInterpolationMethod"><a name="setInterpolationMethod"></a><span class="type">void</span> QBlitFramebuffer::<span class="name">setInterpolationMethod</span>(<span class="type"><a href="qt3drender-qblitframebuffer.html#InterpolationMethod-enum">Qt3DRender::QBlitFramebuffer::InterpolationMethod</a></span> <i>interpolationMethod</i>)</h3> <p>Sets the <i>interpolationMethod</i> that is applied if the image is stretched. Defaults to Linear.</p> <p><b>Note:</b> Setter function for property <a href="qt3drender-qblitframebuffer.html#interpolationMethod-prop">interpolationMethod</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#interpolationMethod">interpolationMethod</a>().</p> <!-- @@@setInterpolationMethod --> <!-- $$$setSource --> <h3 class="fn" id="setSource"><a name="setSource"></a><span class="type">void</span> QBlitFramebuffer::<span class="name">setSource</span>(<span class="type"><a href="qt3drender-qrendertarget.html">Qt3DRender::QRenderTarget</a></span> *<i>source</i>)</h3> <p>Sets the source render target. The default value is nullptr, in which case the source is assumed to be 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><p><b>Note: </b>As with other nodes, <i>source</i> gets automatically parented to the <a href="qt3drender-qblitframebuffer.html">QBlitFramebuffer</a> instance when no parent has been set. The lifetime is also tracked, meaning the source reverts to nullptr in case the currently set <i>source</i> is destroyed.</p><p><b>Note:</b> Setter function for property <a href="qt3drender-qblitframebuffer.html#source-prop">source</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#source">source</a>().</p> <!-- @@@setSource --> <!-- $$$setSourceAttachmentPoint --> <h3 class="fn" id="setSourceAttachmentPoint"><a name="setSourceAttachmentPoint"></a><span class="type">void</span> QBlitFramebuffer::<span class="name">setSourceAttachmentPoint</span>(<span class="type"><a href="qt3drender-qrendertargetoutput.html#AttachmentPoint-enum">Qt3DRender::QRenderTargetOutput::AttachmentPoint</a></span> <i>sourceAttachmentPoint</i>)</h3> <p>Sets the <i>sourceAttachmentPoint</i>. Defaults to Qt3DRender::QRenderTargetOutput::AttachmentPoint::Color0.</p> <p><b>Note:</b> Setter function for property <a href="qt3drender-qblitframebuffer.html#sourceAttachmentPoint-prop">sourceAttachmentPoint</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#sourceAttachmentPoint">sourceAttachmentPoint</a>().</p> <!-- @@@setSourceAttachmentPoint --> <!-- $$$setSourceRect --> <h3 class="fn" id="setSourceRect"><a name="setSourceRect"></a><span class="type">void</span> QBlitFramebuffer::<span class="name">setSourceRect</span>(const <span class="type">QRectF</span> &<i>inputRect</i>)</h3> <p>Sets the source rectangle to <i>inputRect</i>. The coordinates are assumed to follow the normal Qt coordinate system, meaning Y runs from top to bottom.</p> <p><b>Note:</b> Setter function for property <a href="qt3drender-qblitframebuffer.html#sourceRect-prop">sourceRect</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#sourceRect">sourceRect</a>().</p> <!-- @@@setSourceRect --> <!-- $$$source --> <h3 class="fn" id="source"><a name="source"></a><span class="type"><a href="qt3drender-qrendertarget.html">Qt3DRender::QRenderTarget</a></span> *QBlitFramebuffer::<span class="name">source</span>() const</h3> <p>Returns the source render target.</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qblitframebuffer.html#source-prop">source</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#setSource">setSource</a>().</p> <!-- @@@source --> <!-- $$$sourceAttachmentPoint --> <h3 class="fn" id="sourceAttachmentPoint"><a name="sourceAttachmentPoint"></a><span class="type"><a href="qt3drender-qrendertargetoutput.html#AttachmentPoint-enum">Qt3DRender::QRenderTargetOutput::AttachmentPoint</a></span> QBlitFramebuffer::<span class="name">sourceAttachmentPoint</span>() const</h3> <p>Returns the source attachment point.</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qblitframebuffer.html#sourceAttachmentPoint-prop">sourceAttachmentPoint</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#setSourceAttachmentPoint">setSourceAttachmentPoint</a>().</p> <!-- @@@sourceAttachmentPoint --> <!-- $$$sourceRect --> <h3 class="fn" id="sourceRect"><a name="sourceRect"></a><span class="type">QRectF</span> QBlitFramebuffer::<span class="name">sourceRect</span>() const</h3> <p>Returns the source rectangle.</p> <p><b>Note:</b> Getter function for property <a href="qt3drender-qblitframebuffer.html#sourceRect-prop">sourceRect</a>. </p><p><b>See also </b><a href="qt3drender-qblitframebuffer.html#setSourceRect">setSourceRect</a>().</p> <!-- @@@sourceRect --> </div> </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>