1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QSSGIBLBAKERIMPORTER_P_H
5#define QSSGIBLBAKERIMPORTER_P_H
6
7#include "qtquick3diblbaker_p.h"
8#include <QDir>
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists purely as an
15// implementation detail. This header file may change from version to
16// version without notice, or even be removed.
17//
18// We mean it.
19//
20
21QT_BEGIN_NAMESPACE
22
23class Q_QUICK3DIBLBAKER_EXPORT QSSGIblBaker
24{
25public:
26 const QStringList inputExtensions() const;
27 const QString outputExtension() const;
28 const QString import(const QString &sourceFile, const QDir &savePath, QStringList *generatedFiles);
29
30private:
31 QByteArray createBsdfMipLevel(QByteArray &previousMipLevel, uint width, uint height);
32 QStringList m_generatedFiles;
33};
34
35QT_END_NAMESPACE
36
37#endif // QSSGIBLBAKERIMPORTER_P_H
38

source code of qtquick3d/src/iblbaker/qssgiblbaker_p.h