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
qssgrenderreflectionprobe_p.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
QSSG_RENDER_REFLECTION_PROBE_H
7
#
define
QSSG_RENDER_REFLECTION_PROBE_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
<
QtQuick3DRuntimeRender
/
private
/
qssgrendernode_p
.
h
>
21
#
include
<
QtQuick3DRuntimeRender
/
private
/
qssgrendererutil_p
.
h
>
22
#
include
<
QColor
>
23
24
QT_BEGIN_NAMESPACE
25
26
struct
QSSGRenderImage;
27
28
struct
Q_QUICK3DRUNTIMERENDER_EXPORT
QSSGRenderReflectionProbe
:
public
QSSGRenderNode
29
{
30
enum
class
ReflectionRefreshMode
31
{
32
FirstFrame,
33
EveryFrame
34
};
35
36
enum
class
ReflectionTimeSlicing
37
{
38
None,
39
AllFacesAtOnce,
40
IndividualFaces
41
};
42
43
quint32 reflectionMapRes = 8;
44
QColor clearColor = Qt::transparent;
45
ReflectionRefreshMode refreshMode = ReflectionRefreshMode::FirstFrame;
46
ReflectionTimeSlicing timeSlicing = ReflectionTimeSlicing::None;
47
bool
parallaxCorrection =
false
;
48
QVector3D boxSize { 0.0, 0.0, 0.0 };
49
QVector3D boxOffset { 0.0, 0.0, 0.0 };
50
bool
hasScheduledUpdate =
false
;
51
QSSGRenderImage *texture =
nullptr
;
52
53
explicit
QSSGRenderReflectionProbe();
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
QSSGRenderReflectionProbe
Definition
qssgrenderreflectionprobe_p.h:29
qtquick3d
src
runtimerender
graphobjects
qssgrenderreflectionprobe_p.h
Generated on
for Qt by
1.18.0