Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquick3dprofileradapter.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5
6#ifndef QQUICK3DPROFILERADAPTER_H
7#define QQUICK3DPROFILERADAPTER_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is not part of the Qt API. It exists purely as an
14// implementation detail. This header file may change from version to
15// version without notice, or even be removed.
16//
17// We mean it.
18//
19
20#include <QtQml/private/qqmlabstractprofileradapter_p.h>
21#include <QtQuick3DUtils/private/qquick3dprofiler_p.h>
22
23QT_BEGIN_NAMESPACE
24
25class QQuick3DProfilerAdapter : public QQmlAbstractProfilerAdapter {
26 Q_OBJECT
27public:
28 QQuick3DProfilerAdapter(QObject *parent = 0);
29 ~QQuick3DProfilerAdapter();
30 qint64 sendMessages(qint64 until, QList<QByteArray> &messages) override;
31 void receiveData(const QVector<QQuick3DProfilerData> &new_data, const QHash<int, QByteArray> &eventData);
32
33private:
34 int next;
35 QVector<QQuick3DProfilerData> m_data;
36 QHash<int, QByteArray> m_eventData;
37};
38
40
41#endif // QQUICK3DPROFILERADAPTER_H
Combined button and popup list for selecting options.
static void QQuick3DProfilerDataToByteArrays(const QQuick3DProfilerData &data, QList< QByteArray > &messages, const QHash< int, QByteArray > &eventData)