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
qssgiblbaker_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 QSSGIBLBAKERIMPORTER_P_H
5#define QSSGIBLBAKERIMPORTER_P_H
6
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
22
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
#define GL_RGBA16F
Definition qopenglext.h:913
#define GL_HALF_FLOAT
void adjustToPlatformQuirks(QRhi::Implementation &impl)
QRhi::Implementation getRhiImplementation()
QString renderToKTXFile(const QString &inPath, const QString &outPath)
QString renderToKTXFileInternal(const char *name, const QString &inPath, const QString &outPath, QRhi::Implementation impl, QRhiInitParams *initParams)
static constexpr QSSGRenderTextureFormat FORMAT(QSSGRenderTextureFormat::RGBA16F)
static const float cube[]
#define GL_RGBA