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
qquick3dbakedlightmap_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4
#ifndef QQUICK3DBAKEDLIGHTMAP_P_H
5
#define QQUICK3DBAKEDLIGHTMAP_P_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 <QtQuick3D/private/qquick3dnode_p.h>
19
20
QT_BEGIN_NAMESPACE
21
22
class
Q_QUICK3D_EXPORT
QQuick3DBakedLightmap
:
public
QObject
23
{
24
Q_OBJECT
25
Q_PROPERTY
(
bool
enabled
READ isEnabled WRITE setEnabled NOTIFY enabledChanged)
26
Q_PROPERTY
(
QString
key
READ
key
WRITE
setKey
NOTIFY keyChanged)
27
Q_PROPERTY
(
QString
loadPrefix READ loadPrefix WRITE setLoadPrefix NOTIFY loadPrefixChanged)
28
29
QML_NAMED_ELEMENT
(BakedLightmap)
30
31
public:
32
bool
isEnabled() const;
33
QString
key
() const;
34
QString
loadPrefix() const;
35
36
public
Q_SLOTS
:
37
void
setEnabled(
bool
enabled
);
38
void
setKey
(const
QString
&
key
);
39
void
setLoadPrefix(const
QString
&loadPrefix);
40
41
Q_SIGNALS
:
42
void
changed();
43
void
enabledChanged();
44
void
keyChanged();
45
void
loadPrefixChanged();
46
47
private
:
48
bool
m_enabled =
false
;
49
QString
m_key;
50
QString
m_loadPrefix;
51
};
52
53
QT_END_NAMESPACE
54
55
#endif
// QQUICK3DBAKEDLIGHTMAP_P_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QQuick3DBakedLightmap
Definition
qquick3dbakedlightmap_p.h:23
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
key
GLuint64 key
Definition
qopengles2ext.h:2268
enabled
GLenum GLenum GLsizei const GLuint GLboolean enabled
Definition
qopengles2ext.h:150
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:60
Q_PROPERTY
#define Q_PROPERTY(...)
Definition
qtmetamacros.h:56
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_SLOTS
#define Q_SLOTS
Definition
qtmetamacros.h:44
Q_SIGNALS
#define Q_SIGNALS
Definition
qtmetamacros.h:45
false
return false
Definition
src_corelib_thread_qatomic.cpp:23
setKey
setKey(0)
[0]
private
#define private
Definition
vsp2hardwarelayerintegration.cpp:7
qtquick3d
src
quick3d
qquick3dbakedlightmap_p.h
Generated by
1.10.0