1 | // Copyright (C) 2017 Juan José Casafranca |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #include <Qt3DRender/qbuffercapture.h> |
5 | #include <Qt3DRender/private/qbuffercapture_p.h> |
6 | |
7 | QT_BEGIN_NAMESPACE |
8 | |
9 | namespace Qt3DRender |
10 | { |
11 | //Documentation here |
12 | |
13 | /*! |
14 | * \internal |
15 | */ |
16 | QBufferCapturePrivate::QBufferCapturePrivate() |
17 | : QFrameGraphNodePrivate() |
18 | { |
19 | |
20 | } |
21 | |
22 | /*! |
23 | \class Qt3DRender::QBufferCapture |
24 | \inmodule Qt3DRender |
25 | \brief Exchanges buffer data between GPU and CPU. |
26 | */ |
27 | |
28 | /*! |
29 | \qmltype BufferCapture |
30 | \inqmlmodule Qt3D.Render |
31 | \instantiates Qt3DRender::QBufferCapture |
32 | \brief Exchanges buffer data between GPU and CPU. |
33 | */ |
34 | |
35 | QBufferCapture::QBufferCapture(Qt3DCore::QNode *parent) |
36 | : QFrameGraphNode(*new QBufferCapturePrivate, parent) |
37 | { |
38 | |
39 | } |
40 | |
41 | QBufferCapture::~QBufferCapture() |
42 | { |
43 | } |
44 | |
45 | } //Qt3DRender |
46 | |
47 | QT_END_NAMESPACE |
48 | |
49 | #include "moc_qbuffercapture.cpp" |
50 | |