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
qquick3dshaderstoragebufferdata.h
Go to the documentation of this file.
1// Copyright (C) 2026 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 QQUICK3DSHADERSTORAGEBUFFERDATA_H
7#define QQUICK3DSHADERSTORAGEBUFFERDATA_H
8
9#include <QtCore/qobject.h>
10#include <QtQml/qqmlregistration.h>
11#include <QtQuick3D/qtquick3dglobal.h>
12
13QT_BEGIN_NAMESPACE
14
15class QQuick3DShaderStorageBufferDataPrivate;
16class Q_QUICK3D_EXPORT QQuick3DShaderStorageBufferData : public QObject
17{
18 Q_OBJECT
19 Q_DECLARE_PRIVATE(QQuick3DShaderStorageBufferData)
20 QML_NAMED_ELEMENT(ShaderStorageBufferData)
21 QML_ADDED_IN_VERSION(6, 13)
22 QML_UNCREATABLE("ShaderStorageBufferData is abstract")
23public:
24 explicit QQuick3DShaderStorageBufferData(QObject *parent = nullptr);
25 ~QQuick3DShaderStorageBufferData() override;
26
27 QByteArray bufferData() const;
28 void setBufferData(const QByteArray &bufferData);
29
30Q_SIGNALS:
31 void bufferDataDirty();
32
33protected:
34 explicit QQuick3DShaderStorageBufferData(QQuick3DShaderStorageBufferDataPrivate &dd, QObject *parent = nullptr);
35};
36
37QT_END_NAMESPACE
38
39#endif
\qmltype ShaderStorageBufferData \inqmlmodule QtQuick3D \nativetype QQuick3DShaderStorageBufferData