blob: 3f817bcdb5b9f3338a0f96aea7ec437286086160 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
// Copyright (C) 2020 Klaralvdalens Datakonsult AB (KDAB).
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#include "qdebugoverlay.h"
#include "qdebugoverlay_p.h"
QT_BEGIN_NAMESPACE
namespace Qt3DRender {
/*!
\class Qt3DRender::QDebugOverlay
\inmodule Qt3DRender
\ingroup framegraph
\brief Enables a visual overlay with scene details.
Placing a QDebugOverlay in one branch of a custom framegraph will cause an overlay
with scene details to be rendered along with the scene.
The standard QForwardRenderer includes a QDebugOverlay node that can be enabled via
the QForwardRenderer::showDebugOverlay property.
*/
/*!
\qmltype DebugOverlay
\inqmlmodule Qt3D.Render
\nativetype Qt3DRender::QDebugOverlay
\inherits FrameGraphNode
\since 2.16
\brief Enables a visual overlay with scene details.
Placing a DebugOverlay in one branch of a custom framegraph will cause an overlay
with scene details to be rendered along with the scene.
The standard ForwardRenderer includes a DebugOverlay node that can be enabled via
the ForwardRenderer::showDebugOverlay property.
*/
/*!
* \internal
*/
QDebugOverlayPrivate::QDebugOverlayPrivate()
: QFrameGraphNodePrivate()
{
}
/*!
* \internal
*/
QDebugOverlayPrivate::~QDebugOverlayPrivate() = default;
/*!
* The constructor creates an instance with the specified \a parent.
*/
QDebugOverlay::QDebugOverlay(Qt3DCore::QNode *parent)
: QFrameGraphNode(*new QDebugOverlayPrivate, parent)
{
}
} // Qt3DRender
QT_END_NAMESPACE
#include "moc_qdebugoverlay.cpp"
|