Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qquick3dtextureproviderextension.h
Go to the documentation of this file.
1
// Copyright (C) 2025 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
QQUICK3DTEXTUREPROVIDEREXTENSION_H
7
#
define
QQUICK3DTEXTUREPROVIDEREXTENSION_H
8
9
#
include
<
QtQuick3D
/
QQuick3DRenderExtension
>
10
#
include
<
QtQml
/
QQmlEngine
>
11
12
QT_BEGIN_NAMESPACE
13
14
class
QQuick3DTextureProviderExtensionPrivate;
15
16
class
Q_QUICK3D_EXPORT
QQuick3DTextureProviderExtension
:
public
QQuick3DRenderExtension
17
{
18
Q_OBJECT
19
Q_DECLARE_PRIVATE(QQuick3DTextureProviderExtension)
20
21
Q_PROPERTY(SamplerHint samplerHint READ samplerHint WRITE setSamplerHint NOTIFY samplerHintChanged FINAL)
22
QML_NAMED_ELEMENT(TextureProviderExtension)
23
QML_UNCREATABLE(
"TextureProviderExtension is an abstract type"
)
24
QML_ADDED_IN_VERSION(6, 11)
25
public
:
26
// Sampler Types
27
enum
class
SamplerHint {
28
Sampler2D,
29
Sampler2DArray,
30
Sampler3D,
31
SamplerCube,
32
SamplerCubeArray,
33
SamplerBuffer,
34
};
35
Q_ENUM(SamplerHint)
36
37
explicit
QQuick3DTextureProviderExtension(QQuick3DObject *parent =
nullptr
);
38
~QQuick3DTextureProviderExtension() override;
39
40
SamplerHint samplerHint()
const
;
41
void
setSamplerHint(SamplerHint newSamplerHint);
42
43
Q_SIGNALS:
44
void
samplerHintChanged();
45
Q_REVISION(6, 12)
void
surfaceChanged();
46
47
protected
:
48
bool
event(QEvent *event) override;
49
QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) override;
50
};
51
52
QT_END_NAMESPACE
53
54
#
endif
// QQUICK3DTEXTUREPROVIDEREXTENSION_H
QQuick3DTextureProviderExtension
\inmodule QtQuick3D
Definition
qquick3dtextureproviderextension.h:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtquick3d
src
quick3d
extensions
qquick3dtextureproviderextension.h
Generated on
for Qt by
1.18.0