Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qopenxrruntimeinfo_p.h
Go to the documentation of this file.
1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QOPENXRRUNTIMEINFO_H
5#define QOPENXRRUNTIMEINFO_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 purely as an
12// implementation detail. 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 <QtQuick3DXr/qtquick3dxrglobal.h>
19#include <QtCore/qobject.h>
20#include <QtQml/qqml.h>
21
23
24class QOpenXRManager;
25
26class Q_QUICK3DXR_EXPORT QOpenXRRuntimeInfo : public QObject
27{
29 Q_PROPERTY(QStringList enabledExtensions READ enabledExtensions CONSTANT)
30 Q_PROPERTY(QString runtimeName READ runtimeName CONSTANT)
31 Q_PROPERTY(QString runtimeVersion READ runtimeVersion CONSTANT)
32 Q_PROPERTY(QString graphicsApiName READ graphicsApiName CONSTANT)
33 Q_PROPERTY(bool multiViewRendering READ multiViewRendering CONSTANT)
34
35 QML_NAMED_ELEMENT(XrRuntimeInfo)
36 QML_UNCREATABLE("Created by XrView")
37
38public:
40 QStringList enabledExtensions() const;
41 QString runtimeName() const;
42 QString runtimeVersion() const;
43 QString graphicsApiName() const;
44 bool multiViewRendering() const;
45
47 QOpenXRManager *m_openXRManager;
48};
49
51
52#endif // QOPENXRRUNTIMEINFO_H
\inmodule QtCore
Definition qobject.h:103
\inmodule QtCore
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
GLbyte by
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define Q_PROPERTY(...)
#define Q_OBJECT
QNetworkAccessManager manager