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
23
24struct QSSGRenderImage;
25
26struct Q_QUICK3DRUNTIMERENDER_EXPORT QSSGRenderReflectionProbe : public QSSGRenderNode
27{
29 {
30 FirstFrame,
31 EveryFrame
32 };
33
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;
50
52};
53
55
56#endif
The QColor class provides colors based on RGB, HSV or CMYK values.
Definition qcolor.h:31
The QVector3D class represents a vector or vertex in 3D space.
Definition qvectornd.h:171
Combined button and popup list for selecting options.
@ transparent
Definition qnamespace.h:47
@ None
Definition qhash.cpp:531
GLenum GLuint texture
unsigned int quint32
Definition qtypes.h:50