1// Copyright (C) 2017 The Qt Company Ltd.
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 QT3DWINDOW_P_H
5#define QT3DWINDOW_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 <QtGui/private/qwindow_p.h>
19
20QT_BEGIN_NAMESPACE
21
22namespace Qt3DExtras {
23
24class Qt3DWindowPrivate : public QWindowPrivate
25{
26public:
27 Qt3DWindowPrivate();
28
29 Qt3DCore::QAspectEngine *m_aspectEngine;
30
31 // Aspects
32 Qt3DRender::QRenderAspect *m_renderAspect;
33 Qt3DInput::QInputAspect *m_inputAspect;
34 Qt3DLogic::QLogicAspect *m_logicAspect;
35
36 // Renderer configuration
37 Qt3DRender::QRenderSettings *m_renderSettings;
38 Qt3DExtras::QForwardRenderer *m_forwardRenderer;
39 Qt3DRender::QCamera *m_defaultCamera;
40
41 // Input configuration
42 Qt3DInput::QInputSettings *m_inputSettings;
43
44 // Logic configuration
45
46 // Scene
47 Qt3DCore::QEntity *m_root;
48 Qt3DCore::QEntity *m_userRoot;
49
50 bool m_initialized;
51
52 Q_DECLARE_PUBLIC(Qt3DWindow)
53};
54
55} // Qt3DExtras
56
57QT_END_NAMESPACE
58
59#endif // QT3DWINDOW_P_H
60

source code of qt3d/src/extras/defaults/qt3dwindow_p.h