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
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
4
#ifndef QSSG_RENDER_REFLECTION_PROBE_H
5
#define QSSG_RENDER_REFLECTION_PROBE_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 <QtQuick3DRuntimeRender/private/qssgrendernode_p.h>
19
#include <QtQuick3DRuntimeRender/private/qssgrendererutil_p.h>
20
#include <QColor>
21
22
QT_BEGIN_NAMESPACE
23
24
struct
QSSGRenderImage
;
25
26
struct
Q_QUICK3DRUNTIMERENDER_EXPORT
QSSGRenderReflectionProbe
:
public
QSSGRenderNode
27
{
28
enum class
ReflectionRefreshMode
29
{
30
FirstFrame,
31
EveryFrame
32
};
33
34
enum class
ReflectionTimeSlicing
35
{
36
None
,
37
AllFacesAtOnce,
38
IndividualFaces
39
};
40
41
quint32
reflectionMapRes = 8;
42
QColor
clearColor =
Qt::transparent
;
43
ReflectionRefreshMode
refreshMode = ReflectionRefreshMode::FirstFrame;
44
ReflectionTimeSlicing
timeSlicing = ReflectionTimeSlicing::None;
45
bool
parallaxCorrection =
false
;
46
QVector3D
boxSize { 0.0, 0.0, 0.0 };
47
QVector3D
boxOffset { 0.0, 0.0, 0.0 };
48
bool
hasScheduledUpdate =
false
;
49
QSSGRenderImage
*
texture
=
nullptr
;
50
51
explicit
QSSGRenderReflectionProbe
();
52
};
53
54
QT_END_NAMESPACE
55
56
#endif
QColor
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition
qcolor.h:31
QVector3D
The QVector3D class represents a vector or vertex in 3D space.
Definition
qvectornd.h:171
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
Qt::transparent
@ transparent
Definition
qnamespace.h:47
None
@ None
Definition
qhash.cpp:531
texture
GLenum GLuint texture
Definition
qopengles2ext.h:416
quint32
unsigned int quint32
Definition
qtypes.h:50
QSSGRenderImage
Definition
qssgrenderimage_p.h:34
QSSGRenderNode
Definition
qssgrendernode_p.h:37
QSSGRenderReflectionProbe
Definition
qssgrenderreflectionprobe_p.h:27
QSSGRenderReflectionProbe::ReflectionTimeSlicing
ReflectionTimeSlicing
Definition
qssgrenderreflectionprobe_p.h:35
QSSGRenderReflectionProbe::ReflectionRefreshMode
ReflectionRefreshMode
Definition
qssgrenderreflectionprobe_p.h:29
qtquick3d
src
runtimerender
graphobjects
qssgrenderreflectionprobe_p.h
Generated by
1.10.0