Files
qt-creator/src/libs/qmlpuppetcommunication/interfaces/nodeinstanceglobal.h
Miikka Heikkinen e82898a184 QmlDesigner: Implement basic lights baking support
It is expected that user manually specifies all necessary light baking
related properties, including exposing them from subcomponents if
needed.

qlmdenoiser that is used to denoise generated light maps is a third
party application. It can be found here:
https://git.qt.io/laagocs/qlmdenoiser

Fixes: QDS-9403
Change-Id: Ida6fc142440b9ffa8cc97d578f85d8b76cb4b43f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
2023-04-06 15:19:23 +00:00

64 lines
1.2 KiB
C++

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QByteArray>
#include <QList>
#include <vector>
namespace QmlDesigner {
using PropertyName = QByteArray;
using PropertyNameList = QList<PropertyName>;
using PropertyNames = std::vector<PropertyName>;
using TypeName = QByteArray;
enum class AuxiliaryDataType {
None,
Temporary,
Document,
NodeInstancePropertyOverwrite,
NodeInstanceAuxiliary
};
enum class View3DActionType {
Empty,
MoveTool,
ScaleTool,
RotateTool,
FitToView,
AlignCamerasToView,
AlignViewToCamera,
SelectionModeToggle,
CameraToggle,
OrientationToggle,
EditLightToggle,
ShowGrid,
ShowSelectionBox,
ShowIconGizmo,
ShowCameraFrustum,
ShowParticleEmitter,
Edit3DParticleModeToggle,
ParticlesPlay,
ParticlesRestart,
ParticlesSeek,
SelectBackgroundColor,
SelectGridColor,
ResetBackgroundColor,
SyncBackgroundColor,
GetNodeAtPos,
SetBakeLightsView3D
};
constexpr bool isNanotraceEnabled()
{
#ifdef NANOTRACE_ENABLED
return true;
#else
return false;
#endif
}
}