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
qquick3dtexturedatafrontend_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//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the Qt API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13//
14
15#ifndef QQUICK3DTEXTUREDATAFRONTEND_H
16#define QQUICK3DTEXTUREDATAFRONTEND_H
17
18#include <QtQuick3D/QQuick3DTextureData>
19#include <QtQml/QQmlEngine>
20
21#include <QtCore/QByteArray>
22
24
26{
34
35 QML_NAMED_ELEMENT(ProceduralTextureData)
37public:
40 void setFormat(const QQuick3DTextureData::Format &newFormat);
41
42 int depth() const;
43 void setDepth(int newDepth);
44
45 bool hasTransparency() const;
46 void setHasTransparency(bool newHasTransparency);
47
48 QByteArray textureData() const;
49 void setTextureData(const QByteArray &newTextureData);
50
51 int width() const;
52 void setWidth(int newWidth);
53
54 int height() const;
55 void setHeight(int newHeight);
56
64};
65
67
68#endif // QQUICK3DTEXTUREDATAFRONTEND_H
\inmodule QtCore
Definition qbytearray.h:57
void setTextureData(const QByteArray &newTextureData)
void setFormat(const QQuick3DTextureData::Format &newFormat)
void setHasTransparency(bool newHasTransparency)
\qmltype TextureData \inherits Object3D \inqmlmodule QtQuick3D \instantiates QQuick3DTextureData
Format
Returns the color format of the texture data assigned in \l textureData property.
Combined button and popup list for selecting options.
GLint GLenum GLsizei GLsizei GLsizei depth
GLint GLsizei GLsizei height
GLint GLsizei width
GLint GLsizei GLsizei GLenum format
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS