Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qssglightmapper.h
Go to the documentation of this file.
1// Copyright (C) 2023 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 QSSGLIGHTMAPPER_H
7#define QSSGLIGHTMAPPER_H
8
9//
10// W A R N I N G
11// -------------
12//
13// This file is part of the QtQuick3D API, with limited compatibility guarantees.
14// Usage of this API may make your code source and binary incompatible with
15// future versions of Qt.
16//
17
18#include <QtQuick3DRuntimeRender/qtquick3druntimerenderexports.h>
19#include <QString>
20
21QT_BEGIN_NAMESPACE
22
23struct QSSGLightmapperOptions
24{
25 float opacityThreshold = 0.5f;
26 float bias = 0.005f;
27 bool useAdaptiveBias = true;
28 bool indirectLightEnabled = true;
29 int indirectLightSamples = 256;
30 int indirectLightWorkgroupSize = 32;
31 int indirectLightBounces = 3;
32 float indirectLightFactor = 1.0f;
33 QString source = QStringLiteral("lightmaps.bin");
34 float sigma = 8.f;
35 float texelsPerUnit = 1.f;
36};
37
38QT_END_NAMESPACE
39
40#endif // QSSGLIGHTMAPPER_H