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// Qt-Security score:significant reason:default
4
5
6#ifndef QSSGIBLBAKERIMPORTER_P_H
7#define QSSGIBLBAKERIMPORTER_P_H
8
10#include <QDir>
11
12//
13// W A R N I N G
14// -------------
15//
16// This file is not part of the Qt API. It exists purely as an
17// implementation detail. This header file may change from version to
18// version without notice, or even be removed.
19//
20// We mean it.
21//
22
24
26{
27public:
28 const QStringList inputExtensions() const;
29 const QString outputExtension() const;
30 const QString import(const QString &sourceFile, const QDir &savePath, QStringList *generatedFiles);
31
32private:
33 QByteArray createBsdfMipLevel(QByteArray &previousMipLevel, uint width, uint height);
34 QStringList m_generatedFiles;
35};
36
37QT_END_NAMESPACE
38
39#endif // QSSGIBLBAKERIMPORTER_P_H
Combined button and popup list for selecting options.
#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