1// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QT3DRENDER_QBLITFRAMEBUFFER_P_H
5#define QT3DRENDER_QBLITFRAMEBUFFER_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <private/qframegraphnode_p.h>
19#include <Qt3DRender/qblitframebuffer.h>
20
21#include <Qt3DRender/QRenderTarget>
22#include <QRect>
23
24QT_BEGIN_NAMESPACE
25
26namespace Qt3DRender {
27
28class QBlitFramebufferPrivate : public QFrameGraphNodePrivate
29{
30public:
31 QBlitFramebufferPrivate();
32
33 QRenderTarget *m_source;
34 QRenderTarget *m_destination;
35 QRect m_sourceRect;
36 QRect m_destinationRect;
37 Qt3DRender::QRenderTargetOutput::AttachmentPoint m_sourceAttachmentPoint;
38 Qt3DRender::QRenderTargetOutput::AttachmentPoint m_destinationAttachmentPoint;
39 QBlitFramebuffer::InterpolationMethod m_interpolationMethod;
40
41 Q_DECLARE_PUBLIC(QBlitFramebuffer)
42};
43
44} // namespace Qt3DRender
45
46QT_END_NAMESPACE
47
48#endif // QT3DRENDER_QBLITFRAMEBUFFER_P_H
49

source code of qt3d/src/render/framegraph/qblitframebuffer_p.h